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, 23.06.2019 11:30
In cell h5 enter a formula that will calculate the percentage of attendees that went to the altamonte springs job fair in 2018.
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
What type of slide show is a dynamic and eye-catching way to familiarize potential customers with what your company has to offer? a. ole b. photo album c. brochure d. office clipboard
Answers: 2
question
Computers and Technology, 23.06.2019 13:00
Donnie does not have powerpoint. which method would be best for elana to save and share her presentation as is? a pdf a doc an rtf a ppt
Answers: 3
question
Computers and Technology, 24.06.2019 20:20
Write python code that prompts the user to enter his or her age and assigns the user’s input to an integer variable named age.
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, 13.02.2020 17:50
question
Mathematics, 13.02.2020 17:50
question
Mathematics, 13.02.2020 17:50
question
Mathematics, 13.02.2020 17:50
Questions on the website: 13722367