subject

Write a for loop that will print out a series of numbers starting at one less than x and ending at 0. Assume only positive integer is entered as input. _Sample 1 input (in bold)/outputs:_
Enter a positive integer:
7
6 5 4 3 2 1 0

_Sample 2 input (in bold)/outputs:_
Enter a positive integer:
20
19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 12:20
When guido van rossum created python, he wanted to make a language that was more than other programming languages. a. code-based b. human-readable c. complex d. functional
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
While inserting images, the picture command is usually used to insert photos from a digital camera, and the clip art command is usually used to a.edit the sizes and other characteristics of photos that have been inserted. b.take a screenshot of an image and copy it to the clipboard for pasting. c.search for drawings or other images from a library of prepared pictures. d.make illustrations using lines and shapes that are easy to manipulate.
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
2. fluorine and chlorine molecules are blamed fora trapping the sun's energyob forming acid rainoc producing smogod destroying ozone molecules
Answers: 2
question
Computers and Technology, 24.06.2019 08:50
Write a program that will compute the volume of ice cream served in a cone. as you can see in the diagram below, the ice cream is served as a hemisphere of frozen deliciousness on top of a cone, which is also packed with frozen deliciousness. thus, the total volume of ice cream sold is the volume of the hemisphere plus the volume of the cone. the example shows an ice cream cone in which the hemisphere and cone have a radius of 10 inches and the cone has a height of 15 inches. your program must instead prompt for these two values, which are taken from the keyboard as integers: • the hemisphere/cone radius in inches, and
Answers: 3
You know the right answer?
Write a for loop that will print out a series of numbers starting at one less than x and ending at 0...
Questions
question
Mathematics, 30.10.2020 02:00
question
Mathematics, 30.10.2020 02:00
question
Mathematics, 30.10.2020 02:00
Questions on the website: 13722361