Home /
Expert Answers /
Computer Science /
develop-a-code-instructions-1-in-the-netbeans-create-a-project-name-in-your-computer-based-on-pa586
(Solved):
develop a code
INSTRUCTIONS: 1. In the NetBeans, create a project name in your computer based on ...
develop a code
INSTRUCTIONS: 1. In the NetBeans, create a project name in your computer based on this format: A221_STLA1113_Lobtest_cyour matric for mberample: A221_5TIA1113_LabTest_12345. 2. In the project name, create a meaningful class name for the question below. 3. Naming convention must be applied correctly for all the identifiers such as class, variable, . and constant (if any). 4. Indentation also will be assessed in your program 5. Write your name and matric number as a comment on top of your class name. 6. Zip or compress the folder name using winzip or winrar. The compressed file will be A221_STLA1113_LabTest_12345.zip or A221_ST1A1113_LabTest_12345.rar 7. Submit the zip file into UUMOL. 8. You are given only 1 hour and 30 minutes to submit you answer via UUMOL. Late submission will get \( O \) mark. QUESTION: 1. Write a program that calculates and prints the bills for a cellular telephone company. The company has it own line that starts with \( 019 x x x x x x x x \). The cost of monthly rent is RM10.00. The company offers several rates as follows: a. Call rates - same operator (019 to 019) - RMO.10/ minute - different operator (019 to any operator) - RMO.20/ minute b. SMS rates - same operator (019 to 019) - RM0.05/ minute - different operator (019 to any operator) - RMO.10/ minute- Your program should prompt the user to enter an account number) customer name, (phone number, and the number of minutes or SMS). The service tax is charged at ( \( 5 \% \) of the overall total cost. Your program should display input and output the following information as follows: Enter the Account number: 1234567 Enter the customer Name: Ahmad Kamil Bin Hassan Enter the Phone number: 01912345678 Menu \( 1-\operatorname{CaI} 1 \) 2-SMS 3-Exit Your choice \( =1 \) Enter the minute call \( =4 \) Enter the destination of phone \( =019222222 \) Menu \( == \) 1- Ca1 1 2-SMS 3-Exit Your choice \( =1 \) Enter the minute call \( =10 \) Enter the call destination of phone \( =012222222 \)
In order to develop this small system, you must apply the concept of i. Input statements ii. output and formatting statements using printf.(2 decimal point) iii. Arithmetic Calculation of the above formula iv. Selection control structure (if statement) v. Looping structure