Saved Bookmarks
| 1. |
QUESTION 1C As a programmer at British Malaysian Institute Sdn. Bhd., you are requested by the company to develop a Simple Budget Calculator system. The system will help in calculating the amount of money spent by The Robotic Club to buy robotic arms from the budget allocated by BMI. Note: You are required to use at least 4 types of FUNCTIONS when writing the program e.g.: 1. Function without return value and without passing parameter 2. Function without return value but with passing parameter(s) 3. Function with return value but without passing parameter 4. Function with return value and with passing parameter(s) Notice that the program will ask the amount of money allocated. When a value entered, it will show the value as the total budget allocated to the club. Then it will ask the number of robotics arms to buy. A value is entered and it will show as the number of arms needed. Then the program will calculate the total amount spent by the Robotic Club using the budget allocated. Then the program will check the total amount. If i) Budget is greater than total spent it – the club can still look for new equipments ii) Budget is equal the total spent – the club need to get more participants to raise money iii) Budget is below the total spent – BMI need to get more funds to help the robotic club Finally, the program will greet for using the system. EXAMPLE of the interface of the system should be as follows: ~~~~~~~~SIMPLE BUDGET CALCULATOR SYSTEM~~~~~~~~ Enter the amount allocated for Robotic Club budget = RM8000 Enter the total number of robotic arms to buy = 150 Enter the cost of a robot arm = RM35 Total amount will be spent to buy 200 robot arms is RM5,250.00 The club have extra budget to look for new equipments Thank you for using the calculator and Stay safe at home!! |
|
Answer» s4tf8gfgd4txxrtyuhgdddcgyhgdssyygdssrtghvgf |
|