- 4 A Write A Program Which Read A Two Digit Integer Within The Range 20 99 The Task Is To Print The Number In Engli 1 (67.47 KiB) Viewed 75 times
4. A) Write a program which read a two- digit integer within the range 20 - 99. The task is to print the number in Engli
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
4. A) Write a program which read a two- digit integer within the range 20 - 99. The task is to print the number in Engli
4. A) Write a program which read a two- digit integer within the range 20 - 99. The task is to print the number in English words. Also, check if the input is valid, and print "Invalid input" in such cases. Note: Answer Q4A using switch case only. (4 Marks) B) Create a structure to specify data of customers in a bank. The data to be stored is: Account number, Name, Balance in account. Write a program which implements following functions- 1. A function to print the record of all customers having balance below Rs. 500. 11. A function to serve the request of withdrawal and deposit where the details is given in the form of Account Number, Amount, Code (1 for deposit, 0 for withdrawal). If on withdrawal the balance falls below Rs. 500 then program give a message "Insufficient Balance". If customer record is not found then the program will give a message "No record exists". (4 Marks)