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 11:00
How does a policy manual an organization? a. it boost productivity. b. it create awareness in employees about the organization’s values. c. it employees achieve targets. d. it safeguards the organization from liabilities.
Answers: 1
question
Computers and Technology, 23.06.2019 05:30
Sally is editing her science report about living things. she needs to copy a paragraph from her original report. order the steps sally needs to do to copy the text to her new document.
Answers: 1
question
Computers and Technology, 24.06.2019 13:20
3. ranga ramasesh is the operations manager for a firm that is trying to decide which one of four countries it should research for possible outsourcing providers. the first step is to select a country based on cultural risk factors, which are critical to eventual business success with the provider. ranga has reviewed outsourcing provider directories and found that the four countries in the table that follows have an ample number of providers from which they can choose. to aid in the country selection step, he has enlisted the aid of a cultural expert, john wang, who has provided ratings of the various criteria in the table. the resulting ratings are on a 1 to 10 scale, where 1 is a low risk and 10 is a high risk. john has also determined six criteria weightins: trust, with a weight of 0.3; quality, with 0.2; religious, with 0.1; individualism, with 0.2; time, with 0.1; and uncertainity, with 0.1. using the factor-rating method, which country should ranga select? why? (2 points)
Answers: 3
question
Computers and Technology, 25.06.2019 07:30
What does the hard disk drive do? it stores all of the information on a computer. it controls a computer’s operating system. it enables visual interaction with a computer. it contains all of a computer’s internal parts.
Answers: 1
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, 11.08.2021 04:00
question
Mathematics, 11.08.2021 04:00
question
Mathematics, 11.08.2021 04:00
question
Mathematics, 11.08.2021 04:00
question
Mathematics, 11.08.2021 04:00
Questions on the website: 13722363