Question: The following program flowchart is created for a program to calculate petrol allowance for a company. Note: Odometer is an instrument for measuring the distance
The following program flowchart is created for a program to calculate petrol allowance for a company.
![Start Input: Beginning odameter reading (BOR) Ending odometer reading (EOR] Mileage (M) = EOR - BOR Petrol Allowance (M-100)](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2021/05/609237bed6cdf_1620195263034.jpg)
Note: Odometer is an instrument for measuring the distance travelled by a wheeled vehicle.
REQUIRED:
Start Input: Beginning odameter reading (BOR) Ending odometer reading (EOR) Mileage (M) = EOR - BOR Petrol Allowance = (M-100) * 01.6 + (100 * 0.70) Petrol Allowance = M*0.7 M
Step by Step Solution
There are 3 Steps involved in it
code include int mainvoid float BOREOR BOR for beginnig odo... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
6093c9a5ac2cc_209779.pdf
180 KBs PDF File
6093c9a5ac2cc_209779.docx
120 KBs Word File
