subject

Problem statement: using loop, write a program that will ask the user to enter a character for left or right. then, the user will enter a number. the program should generate a ladder of x wherein the level depends on the number entered and the character should dictate whether it faces right or left.

sample:

character is r
number is 3

output
x
xx
xxx

character is r
number is 6
x
xx
xxx




character is l
number is 5

x
xx
xxx

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:10
David is in week 3 of his current ashford course and has a paper due by monday night at midnight. he has finished everything but the concluding paragraph. as he boots up his computer to work on it, he sees a flash across the screen and then the screen goes black. he begins to panic as he tries desperately to turn the laptop back on. david should have saved his work on what kind of portable device?
Answers: 2
question
Computers and Technology, 22.06.2019 17:30
Which tab should you open to find the option for adding a header?
Answers: 1
question
Computers and Technology, 22.06.2019 22:30
Who needs to approve a change before it is initiated? (select two.) -change board -client or end user -ceo -personnel manager -project manager
Answers: 1
question
Computers and Technology, 23.06.2019 09:10
Effective character encoding requires standardized code. compatible browsers. common languages. identical operating systems.
Answers: 1
You know the right answer?
Problem statement: using loop, write a program that will ask the user to enter a character for left...
Questions
question
Mathematics, 19.02.2020 07:46
question
Geography, 19.02.2020 07:47
question
History, 19.02.2020 07:48
question
History, 19.02.2020 07:48
question
History, 19.02.2020 07:48
Questions on the website: 13722363