Computer Science, asked by rupeshkumar765434270, 5 hours ago

A Credit card company allows a limit to spent Rs 15000 to its clients. lt also offers cash back facility according to the table shown below. Input the amount spent by the user and d isplay the cash bac k amount that he is entitled to.
Amou n t (in Rs .) Cash Back (in Rs .)
Fi rst 1000 100
Next 2000 200 + 2% of amount exceeding 1000
Next 4000 400 + 4% of amount exceeding 3000
Next 8000 800 + 8% of amount exceeding 8000
Write a program to declare the class 'Credit' that takes in the name of the client and the
amout spend by him. Calculate the cash back amount and print it along with all the other input details.
(Assume there are 20 clients. Take details and print the requisite output for each of them or one by one.)
ASSIGNMENT

Answers

Answered by Anonymous
3

Answer:

All living things use a process called respiration to get energy to stay alive. Cellular respiration in plants is the process used by plants to convert the glucose made during photosynthesis into energy which fuels the plants’ cellular activities.

On the other hand,

MARK ME BRAINLIST

Similar questions