Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

DRAW FLOWCHART LOOP 1. You are asked to compute travel claims for 20 staff of a department and display the total mileage claim for each

DRAW FLOWCHART LOOP

1. You are asked to compute travel claims for 20 staff of a department and display the total mileage claim for each staff. The mileage rate is RM0.70 for each kilometer (km) for the first 500 km, and RM0.50 per kilometer for the distance beyond the first 500 km. For example, for a trip with distance of 1050 km, the total mileage claim displayed is RM625.00. Write a program that will accept an input the distance of a trip for each staff, as well as calculate and print the total mileage claim for the staff.

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

Database Design Application Development And Administration

Authors: Michael V. Mannino

3rd Edition

0071107010, 978-0071107013

More Books

Students also viewed these Databases questions

Question

suggest a range of work sample exercises and design them

Answered: 1 week ago