Home / Expert Answers / Computer Science / 3-contoso-travel-needs-a-program-to-calculate-how-many-miles-employees-have-driven-the-program-w-pa759

(Solved): 3. Contoso travel needs a program to calculate how many miles employees have driven. The program w ...



3. Contoso travel needs a program to calculate how many miles employees have driven. The program will get the following input

3. Contoso travel needs a program to calculate how many miles employees have driven. The program will get the following input from the user, vehicle speed and number of driving hours. The program will calculate and display the hour and miles driven each hour. You must use a loop in this program Distance speed time 4. Contoso Payroll Contoso is thinking of trying out a new payroll strategy for its temporary employees. The strategy is to pay one penny the first day, two pennies the second day, and keep doubling the pennies every day. Create a program that will get as input number of days in which to calculate pay and then displays the day and the pennies paid for each day. Also display a total pay. You must use a loop. For example Total pay is - I NEED AN IPO LIST FOR BOTH QUESTIONS


We have an Answer from Expert

View Expert Answer

Expert Answer


Here are the IPO (Input-Process-Output) lists for both questions:Question 1
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe