Computers and Technology
Computers and Technology, 07.10.2021 14:00, jackkie10

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

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 13:30, ashleypere99
Jane’s team is using the v-shaped model for their project. during the high-level design phase of the project, testers perform integration testing. what is the purpose of an integration test plan in the v-model of development? a. checks if the team has gathered all the requirements b. checks how the product interacts with external systems c. checks the flow of data in internal modules d. checks how the product works from the client side
Answers: 1
image
Computers and Technology, 22.06.2019 17:40, math31343
Gabe wants to move text from one document to another document. he should copy the text, paste the text, and open the new document highlight the text, select the cut command, move to the new document, make sure the cursor is in the correct location, and select the paste command select the save as command, navigate to the new document, and click save highlight the text, open the new document, and press ctrl and v
Answers: 1
image
Computers and Technology, 22.06.2019 20:00, random286
How is the number 372 written when expanded out to place values in the base 8 (octal) number system? a. 2 x 4 + 3 x 2 + 4 x 1 b. 3 x 64 + 7 x 8 + 2 x 1 c. 3 x 8 + 7 x 7 + 2 x 6 d. 3 x 100 + 7 x 10 + 2 x 1
Answers: 1
image
Computers and Technology, 22.06.2019 23:30, keviongardner
The next button in the review section shows the next available comment. next slide with no comment. previous comment. edited comment.
Answers: 1
Do you know the correct answer?
Write a for loop that will print out a series of numbers starting at one less than x and ending at 0...

Questions in other subjects:

Konu
Mathematics, 20.09.2019 06:00