subject

I m having a hard time with this question, would anyone be kind enough to answer it please? C++
When the "#" sign(s) move out of the line, the output stops. 3) Including the "#" sign(s), total 10 characters should be outputted in each line. The "*" (asterisk) sign(s) used to fill the reminder characters. 4) All parameters range from 1 to 9 (including 1 and 9). The two parameters will always be given.
Example 1 of command and output
Linux Command: ./main 1 2
output1
#
**#
#
#***
#*
Example 2 of command and output
Linux Command: ./main 3 4
output2
###
###***
##
Example 3 of command and output
Linux Command: ./main 5 2
output3


*

##

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:40
Write a modular program (no classes yet, just from what you learned last year), that allows two players to play a game of tic-tac-toe. use a two-dimensional char array with 3 rows and 3 columns as the game board. each element of the array should be initialized with an asterisk (*). the program should display the initial board configuration and then start a loop that does the following: allow player 1 to select a location on the board for an x by entering a row and column number. then redisplay the board with an x replacing the * in the chosen location. if there is no winner yet and the board is not yet full, allow player 2 to select a location on the board for an o by entering a row and column number. then redisplay the board with an o replacing the * in the chosen location. the loop should continue until a player has won or a tie has occurred, then display a message indicating who won, or reporting that a tie occurred. player 1 wins when there are three xs in a row, a column, or a diagonal on the game board. player 2 wins when there are three ox in a row, a column, or a diagonal on the game board. a tie occurs when all of the locations on the board are full, but there is no winner. input validation: only allow legal moves to be entered. the row must be 1, 2, or 3. the column must be 1, 2 3. the (row, column) position entered must currently be empty (i.e., still have an asterisk in it).
Answers: 1
question
Computers and Technology, 22.06.2019 19:20
Terri needs to insert a cover page into her document. where should she go to access the commands to do so? o insert tab, objects group o insert tab, illustrations group o insert tab, pages group o insert tab, media group submit
Answers: 1
question
Computers and Technology, 23.06.2019 21:20
In microsoft word, when you highlight existing text you want to replace, you're in              a.  advanced mode.    b.  automatic mode.    c.  basic mode.    d.  typeover mode
Answers: 1
question
Computers and Technology, 23.06.2019 22:20
Read “suburban homes construction project” at the end of chapters 8 and 9 (in the textbook) and then develop a wbs (work breakdown structure) in microsoft excel or in microsoft word (using tables)
Answers: 1
You know the right answer?
I m having a hard time with this question, would anyone be kind enough to answer it please? C++
Questions
question
Mathematics, 01.05.2021 04:20
question
Mathematics, 01.05.2021 04:20
question
Mathematics, 01.05.2021 04:20
Questions on the website: 13722363