subject

Writing for loops. Jump to level 1 Write a for loop that iterates totalNums times. Each iteration: Assign userNum with the next input. Then, put userNum to output. Then, put ":" to output. Ex: If input is: 3 261, then output is: 2:6:1: Variables integer total Nums integer user Num 3 integer i Not shown when editing 5 // Program tested with three inputs: 6 // First: 3 2 6 1 7 // Second: 26 4 7 2 8 // Third: -1 34 9 totalNums = Get next input 11 12 // Your solution goes here 13 Code Flowchart Check Next View your last submission V Feedback? How was this section? Is q Provide feedback CHALLENGE ACTIVITY 6.5.3: Calling functions. Jump to level 1 Write code that calls the function PrintAge passing the userAge variable as an argument. Do-0-0-0-0- Variables 1 Function PrintAge(integer userAge) returns nothing Put "He is " to output Put userAge to output Put " years old." to output Not shown when editing vou Function Main() returns nothing integer userAge userAge - Get next input // Your solution goes here Code Flowchart 2 Check Next View your last submission V Feedback? D CHALLENGE ACTIVITY 6.5.4: Defining functions. Jump to level 1 Write code in PutDollars that puts wageAmount to output. 1 Function PutDollars(integer wageAmount) returns nothing 2 Put "$" to output Variables -D- DD- Not shown when editing // Your solution goes here Function Main() returns nothing integer userDollars userDollars = Get next input PutDollars (userDollars) Code Flowchart 2 3 Check Next Feedback?

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 07:00
You need a quick answer from a coworker. the most effective way to reach your coworker is through a. cloud server b. instant message c. teleconference d. telepresence
Answers: 1
question
Computers and Technology, 23.06.2019 11:30
Auser is given read permission to a file stored on an ntfs-formatted volume. the file is then copied to a folder on the same ntfs-formatted volume where the user has been given full control permission for that folder. when the user logs on to the computer holding the file and accesses its new location via a drive letter, what is the user's effective permission to the file? a. read b. full control c. no access d. modify e. none of the above
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
If you're using an existing powerpoint presentation that will receive new slides based on a word outline, select the a. slide that will appear after the new slides. b. first slide in the presentation. c. slide that will appear before the new slides. d. last slide in the presentation.
Answers: 2
question
Computers and Technology, 23.06.2019 17:30
Per the municipal solid waste report, what are the most common sources of waste (trash
Answers: 3
You know the right answer?
Writing for loops. Jump to level 1 Write a for loop that iterates totalNums times. Each iteration: A...
Questions
question
Mathematics, 20.06.2020 02:57
question
History, 20.06.2020 02:57
Questions on the website: 13722362