![jackiesantos1298](/avatars/29509.jpg)
jackiesantos1298
20.08.2021 •
Computers and Technology
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?
Solved
Show answers
More tips
- S Sport Running: How to Do It Right?...
- F Food and Cooking How to Cook Spaghetti Right – Secrets and Tips...
- P Philosophy Personal attitude towards Confession: how to prepare and undergo the procedure correctly?...
- H Health and Medicine Flu: How to Recognize It by the First Symptoms?...
- F Food and Cooking How to Sober Up Quickly? Important Facts and Tips...
- H Health and Medicine How to Properly Take a Blood Sugar Test?...
- H Health and Medicine Simple and Effective: How to Get Rid of Cracked Heels...
- O Other How to Choose the Best Answer to Your Question on The Grand Question ?...
- L Leisure and Entertainment History of International Women s Day: When Did the Celebration of March 8th Begin?...
- S Style and Beauty Intimate Haircut: The Reasons, Popularity, and Risks...
Answers on questions: Computers and Technology
- M Mathematics What is the measure of angle D?...
- H History Bye guys im goiing to my first match...
- M Mathematics A bacterium is in a glass. Every second it splits in half. Each of the resulting bacteria splits in half the following second, and so on. The glass is filled a minute later....
- M Mathematics How do you pronounce B ?...
- B Biology What do you know about food chains? They begin with producers and end with top level consumers, usually predators. The graph depicts the relationship between two top-level predators...
- P Physics How many components do vectors have, and what are they?...
- H History What was the significance of the Battle of Queenston Heights? It allowed for the United States to occupy territory in Canada. It allowed the British to conquer Fort Niagara,...
- B Biology In the product 6O2, what does the coefficient mean? There are 12 molecules of O2, There are 8 molecules of O2, There are 6 molecules of O2. There are 2 molecules of O2....
- S Spanish Tengo miedo de que mi madastrauna mala A) será B) Sea C) eres...
- E English What is the basic meaning of this rule of Imagism?...
Ответ:
The answer is A: land and oceans.
i just did the quiz and got it right
hope this helps you :D