Computer Science, asked by thammanaraghva2003, 8 months ago

Consider a two-wheeler servicing agency. For every request serviced by the
agency, the following charges are levied along with taxes. (i) Water wash - Rs.
200 + 6% tax (ii) Oil in the Engine must be at least 100 ml. If it goes below 100
ml (ask the user to input the current level of oil. in the engine), top up is done
by the agency (the value of top up is given by the user so that level is at least
100 ml). Cost of 1 ml is Rs. 3 + 12.5% tax (iii) cost for general service is Rs.
600+14.5% tax. Write a C program to accomplish the following tasks. (a)
Define suitable variables to capture the above three parameters and
respective taxes (b) Calculate the total amount to be paid. (c) Display the total
with 17 places which includes 7 places for fraction. The integer part of the
total must be prefixed with O's and a sign, if required. (d) Display the floor
value of total (the largest integer that is smaller than the value of total) and
ceil value of total (the least integer that is greater than the value of total).
Example: floor of 14.765 is 14 and ceil of 14.765 is 15.​

Answers

Answered by vanihtk
0

Answer:

mmmmmm

Explanation:

i will try to answer

Similar questions