Computers and Technology, 12.04.2021 20:40 bossboybaker
Start by using two parallel 5-element arrays*: an array of strings that holds the five carbonated drink flavor names, and an array of integers that holds the number of cans sold during the past month for each flavors. Use a loop to prompt the user to enter the number of cans sold for each flavor. Once the sales numbers have been entered, the program should pass the array holding the sales count to a function that computes and returns the average number of sales.
Answers: 1
Computers and Technology, 22.06.2019 07:20
Write a pseudocode solution for each of these problems. 1. design a while loop that lets that user enter a number. the number should be multiplied by 10, and the result stored in a variable named product. the loop should iterate as long as product contains a value less than 100. 2. design a do-while loop that asks the user to enter two numbers. the numbers should be added and the sum displayed. the loop should ask the user whether he or she wishes to perform the operation again. if so, the loop should repeat; otherwise it should terminate. 3. design a for loop that displays the following set of numbers: 0, 10, 20, 30, 40, 50 100. 4. design a nested loop that displays 10 rows of # characters. there should be 15 # characters in each row. 5. convert this for loop to a while loop. declare integer count for count = 1 to 50 display count end for 6. find the error in the following pseudocode. declare boolean finished = false declare integer value, cube while not finished display “enter a value to be cubed.” input value; set cube = value ^ 3 display value, “ cubed is “, cube end while
Answers: 2
Computers and Technology, 22.06.2019 17:30
Which tab should you open to find the option for adding a header?
Answers: 1
Computers and Technology, 24.06.2019 11:00
In three to five sentences, describe how you can organize written information logically and sequentially
Answers: 1
Computers and Technology, 24.06.2019 11:30
Why is body language an important factor in a business meeting
Answers: 1
Start by using two parallel 5-element arrays*: an array of strings that holds the five carbonated dr...
Chemistry, 23.06.2020 10:57
History, 23.06.2020 10:57
Social Studies, 23.06.2020 10:57
Physics, 23.06.2020 10:57
Chemistry, 23.06.2020 10:57
History, 23.06.2020 10:57