[Solved] ITSE2321 Program 2 users daily driving cost

$25

File Name: ITSE2321_Program_2__users_daily_driving_cost.zip
File Size: 414.48 KB

SKU: [Solved] ITSE2321 Program 2 – user’s daily driving cost Category: Tag:
5/5 - (1 vote)

The daily driving cost is based on total miles driven per day, cost per gallon of gas, average miles per gallon, parking fees per day, and tolls per day using the formula below:

Daily Driving Cost = Cost Per Gallon * Total Miles Driven Average Miles Per Gallon + Parking Fees Per Day + Tolls Per Day

Write a program that calculates a users daily driving cost. The program should ask the user for the following data and display the users cost per day. Format your output to two decimal places:

  1. Total miles driven per day
  2. Cost of gallon of gasoline
  3. Average miles per gallon of gasoline
  4. Parking fees
  5. Tolls per day

Run your program two times, with the following data, and copy and paste the output to a file.

Run 1 Run 2
Total miles driven per dayCost of gallon of gasolineAverage miles per gallon of gasolineParking feesTolls per day 25$2.2524$2.45$2.50 40$2.2530$5.00$1.45

Create a folder named, fullname_program2. Copy your source code and the output file to the folder. Zip the folder and upload it to Blackboard.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] ITSE2321 Program 2  users daily driving cost[Solved] ITSE2321 Program 2 users daily driving cost
$25