Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

can u make sure that those codes are matches what required on the picture attached? the codes: #include int main() { float b,e; printf(Enter beginning

image text in transcribed

can u make sure that those codes are matches what required on the picture attached?

the codes:

#includeint main(){float b,e;printf("Enter beginning odometer reading=>");scanf("%f",&b);printf(" Enter ending odometer reading=>");scanf("%f",&e);printf(" You traveled %.2f miles. At $0.35 per mile, your reimbursement is $ %.3f.",e-b,(e-b)*0.35);return 0;}

Comp1099 Lab 03 Write a program that calculates mileage reimbursement for a salesperson at a rate of $0.35 per mile. Your program should interact with the user in this manner eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee MILEAGE REIMBURSEMENT CALCULATOR Enter beginning odometer reading 13505.2 Enter ending odometer reading 13810.6 You traveled 305.4 miles. At $0.35 per mile, your reimbursement is $106.89. Oooooooooooooooooooooooooooo ease see is to be test to do it see a de

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning C# 5.0 Databases

Authors: Vidya Vrat Agarwal

2nd Edition

1430242604, 978-1430242604

Students also viewed these Databases questions

Question

How many Tables Will Base HCMSs typically have? Why?

Answered: 1 week ago

Question

What is the process of normalization?

Answered: 1 week ago