1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Nookie1986 [14]
3 years ago
13

Problem statement: Using loop, write a program that will ask the user to enter a character for left or right. Then, the user wil

l 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
XXXX
XXXXX
XXXXXX

Character is l
Number is 5

X
XX
XXX
XXXX
XXXXX
Computers and Technology
1 answer:
zvonat [6]3 years ago
7 0
Define variables
left is l
right is r

Ask input
left or right

Ask input value

Equate l or r to the input value

Show ladder with steps equal to input value and in the side of input variable
You might be interested in
The company currently runs 60 autonomous APs and has plans to increase wireless density by 50% in the near future
Vaselesa [24]

Correct Question:

A small company is requesting a quote to refresh its wireless network. The company currently runs 60 autonomous APs and has plans to increase wireless density by 50% in the near future. The requirements state that the chosen solution should significantly decrease the management overhead of the current wireless network. Which of the following should the vendors recommend In response to the quote request?

A. The use of lightweight APs with a load balancer

B. The use of autonomous APs with a wireless controller

C. The use of autonomous APs with a load balancer

D. The use of lightweight APs with a wireless controller

Answer:

B.

Explanation:

Because company requires less management overheed. So an autonomous APs with a wireless controller will do the work.

3 0
3 years ago
What is an example of static we page?
OlgaM077 [116]
I’m pretty sure it’s B I hope this help you and I’m sorry if I got it wrong
4 0
4 years ago
Which line(s) immediately flush the output buffer?
Murljashka [212]

Answer:

lines 2,3 and 5 ( c )

Explanation:

The lines that immediately flush the output buffer are :  System.out.print("Two for the show\n"); .   System.out.println("Three to get ready"); and   System.out.flush();

making use of the new line character or printIn() statement the buffered output gets flushed therefore making autoflush true

but System.out.print() doesn't  use any flush technique so we need to flush the buffered output done by the print() statement hence we choose lines 2,3,5

3 0
4 years ago
Sukhi needs to insert a container into her form to collect a particular type of information.
Hunter-Best [27]

Answer:

text box

Explanation:

on edge 2020

6 0
4 years ago
Routines will depend on the ______________________ and is found in every program you write.
kari74 [83]

Answer:

Open an application (Word, PowerPoint, etc.) and create a new file like you normally would. ...

Click File.

Click Save as.

Select Box as the location where you'd like to save your file. If you have a particular folder that you'd like to save it to, select it.

Name your file.

Click Save.

Explanation:

3 0
3 years ago
Other questions:
  • An organization needs to maintain data files of its employees in the form of tables. They also need to access and update over th
    15·2 answers
  • *blank* is the unauthorized copying and selling or distributing of licensed video games.
    10·1 answer
  • With a chart , illustrate the stage of wood processing plsss help I will mark u as brainliest plss help pls and I will follow yo
    15·1 answer
  • Create a program named Reverse3 whose Main() method declares three integers named firstInt, middleInt, and lastInt. Assign the f
    9·1 answer
  • To apply the StartSafe philosophy to preventing workplace violence, what are the three steps to follow? A. Plan for your job req
    12·2 answers
  • The concept of the internet was developed by the u.s. department of defense as a network that ________ in event of an attack.
    8·1 answer
  • You do not need to remove the lead weights inside tires before recycling them. A) TrueB) False
    15·1 answer
  • Why does a computer need programs? ​
    8·2 answers
  • To print photographs in color.​
    7·1 answer
  • What is computer system ?​
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!