This week's assignment involves writing a Python program to collect all the data of a road trip and calculate each perso

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

This week's assignment involves writing a Python program to collect all the data of a road trip and calculate each perso

Post by answerhappygod »

This Week S Assignment Involves Writing A Python Program To Collect All The Data Of A Road Trip And Calculate Each Perso 1
This Week S Assignment Involves Writing A Python Program To Collect All The Data Of A Road Trip And Calculate Each Perso 1 (39.61 KiB) Viewed 49 times
This week's assignment involves writing a Python program to collect all the data of a road trip and calculate each person's share of the cost. Prompt the user for each of the following: . The number of people on the trip. • The number of days of the trip. . For each day of the trip: o Cost of food. Cost of gas. The food and gas costs should be stored in two separate arrays. Calculate and display each of the following: . The total cost of each category. .The total cost of the trip. Each person's share of the total cost. . Your program should include Header comments (what the program does) and in-line comments (the major design steps). Also document the currency of the country visited. Submit your Python program as a text file (.py) file. In addition, submit a Design outline and a Test plan/report (3 different test cases - one test case must be 5 days and 5 neonlel in W
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply