subject

Create an array of string objects and populate it with the days of the work week (i. e., monday - friday) (2) create an array parallel to the one created in (1) to store the entrées. however, you do not have this information, so you will need to write a loop that prompts the user to enter the entrée served on that day. this prompt should include the day for which you are asking for the information (e. g., "what entrée is being served on monday? ") (3) create another parallel array that stores the prices. you will also need to collect this information from the user. this time, your prompt should include the name of the entrée for which you are asking for the price (4) prompt the user to choose an entrée from a list that you display numbered 1 through 7

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:00
Ulia is planning to attend the same private four-year college her parents attended. she wants to save at least $18,000 in four years to contribute to her college education. which monthly deposit amounts can julia use to achieve her goal? check all that apply.
Answers: 2
question
Computers and Technology, 24.06.2019 02:00
What is a loop? a. a collection of function definitions at the top of a program b. a line of code that defines a variable and assigns it a value c. a program that opens the turtle graphics window d. a block of code that repeats a specific number of times
Answers: 1
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
question
Computers and Technology, 25.06.2019 10:30
Design a payroll class with the following fields: • name: a string containing the employee's name • idnumber: an int representing the employee's id number • rate: a double containing the employee's hourly pay rate • hours: an int representing the number of hours this employee has worked the class should also have the following methods: • constructor: takes the employee's name and id number as arguments • accessors: allow access to all of the fields of the payroll class • mutators: let the user assign values to the fields of the payroll class • grosspay: returns the employee's gross pay, which is calculated as the number of hours worked times the hourly pay rate. write another program that demonstrates the class by creating a payroll object, then asking the user to enter the data for an employee in the order: name, id number, rate, hours. the program should then print out a statement in the following format (for example, if you had an employee named chris jacobsen with id number 11111, who works for 5 hours at $10/hr): chris jacobsen, employee number 11111, made $50.00 in gross pay. using text forming so that the gross pay is rounded to two decimal places.
Answers: 2
You know the right answer?
Create an array of string objects and populate it with the days of the work week (i. e., monday - fr...
Questions
question
Social Studies, 17.10.2019 12:00
question
Mathematics, 17.10.2019 12:00