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, 22.06.2019 15:00
Which of the following statements tests if students have a grade of 70 or above, as well as fewer than five absences? a: if(grade > = 70 and daysabsent < = 5): b: if(grade > = 70 or daysabsent < = 5): c: if(grade > 70 and daysabsent < = 5): d: if(grade > 70 or daysabsent < = 5): i took the test the answer is a
Answers: 1
question
Computers and Technology, 23.06.2019 00:00
Which is the correct sequence of steps to set up a document in landscape orientation? a. select page setup from the file menu. then click the margins tab and select landscape. b. select page setup from the edit menu. then click the margins tab and select landscape. c. select page setup from the insert menu. then click the margins tab and select landscape. d. select page setup from the format menu. then click the margins tab and select landscape
Answers: 1
question
Computers and Technology, 24.06.2019 00:20
The guy wire bd exerts on the telephone pole ac a force p directed along bd. knowing the p must have a 720-n component perpendicular to the pole ac, determine the magnitude of force p and its component along line ac.
Answers: 2
question
Computers and Technology, 24.06.2019 06:30
Ineed to know the anwser to all these questions
Answers: 2
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, 10.06.2021 20:50
question
Mathematics, 10.06.2021 20:50
question
Mathematics, 10.06.2021 20:50
question
Mathematics, 10.06.2021 20:50