Question: USING JAVA NETBEANS PLEASE HELP ME WITH THIS PROGRAM AND KINDLY SCREENSHOT THE OUTPUT THANKYOU! Java Operation Outcomes: At the end of this activity the

 USING JAVA NETBEANS PLEASE HELP ME WITH THIS PROGRAM AND KINDLY

SCREENSHOT THE OUTPUT THANKYOU! Java Operation Outcomes: At the end of this

activity the students will be able: Create a program solution of the

USING JAVA NETBEANS PLEASE HELP ME WITH THIS PROGRAM AND KINDLY SCREENSHOT THE OUTPUT THANKYOU!

Java Operation Outcomes: At the end of this activity the students will be able: Create a program solution of the given problem using Java Programming. Use basic system input/output of Java Programming Apply java arithmetic Instruction: Read and analyze each problem. Provide a JAVA program to satisfy the required machine functionality. Import all java utilities using the syntax: Import java.util.*; Machine Problem: You have 8 circles of equal size and you want to pack them inside a square. You want to minimize the size of the square. The following figure illustrates the minimum way of packing 8 circles inside a square: Given the radius, r, find the area of the minimum square into which 8 circles of that radius can be packed. The Input: A positive real number (between 0.001 and 1000, inclusive) in a single line denoting the radius, r. The Output: For each test case, output the area of the minimum square where 8 circles of radius r can be packed. Print 5 digits after the decimal. Your output is considered correct if it is within +0.00001 of the correct output. TEST CASE #1 Input: 0.1 Output: 0.34383 TEST CASE #2 Input: 0.2 Output: 1.37532 Conditional Statement Outcomes: At the end of this activity the students will be able: . Create a program solution of the given problem applying Java conditional statements Differentiate If, if-else and if-else if-else statements Use comparison and logical operators to handle conditional statements in java program Instruction: Read and analyze each problem. Provide a JAVA program to satisfy the required machine functionality. Import all java utilities using the syntax: Import java.util.*; Machine Problem: Create a java program that would compute and display the total mobile services fee incurred by a customer. Mobile services include text messages, calls in minutes and mobile data usage in megabytes. Each customer was given a customer ID that would indicate the type of mobile plan he/she availed. PLAN A Customer ID ending with O. Loyal member has 5 digits and above ID number. PLAN B Customer ID ending with 5. Loyal member has 5 digits and above ID number. PLANC Customer ID ending with 2. Loyal member has 5 digits and above ID number. monthly fixed rate of P500.00 - monthly fixed rate of P750.00 - monthly fixed rate of P1,200.00 allows free text messaging up to 250 messages. Beyond that, each message is charged 90 centavos. allows free text - allows free text messaging of up to 500 messaging of up to messages. Beyond 1,000 messages. that, each message is Beyond that, each charged 70 centavos. message is charged 50 centavos. All-net calls up to 120 mins. Exceeding All-net calls up to 240 minutes applies mins. Exceeding P5/min. minutes applies P5/min. - All-net calls up to 60 mins. Exceeding minutes applies P5/min. P5/MB. Free use of mobile data up to 80MB. -P5/MB. Free use of mobile data up to 100MB. -P5/MB. Free use of mobile data up to 500MB. - 20% discount from the total charge for Loyal member. - 40% discount from the total charge. 60% discount from the total charge. Input: The first line of the input file will contain a single integer N that represents the Customer ID number. Next line consists of 3 integer T, C and D, separated by commas (). Tis the total number of text messages; C is the total number of calls in minutes and D is the total data usage in MB. Output: The total mobile fee of the customer applying all charges given in the description and discounts if applicable. In addition, the program must also display an offer to upgrade the plan type for customers who have exceeded their monthly fixed rate by 200%. Ex. Plan A - total bill of P1,860.00 means the customer exceeded by P1,360.00 or 272% from his/her monthly fixed rate of P500 (P1,860-500=1,360). TEST CASE: Customer ID: 39480 300 128 100 Total bill: P 788.00 Customer ID: 5645 800 677 345 Total bill: P 4970.00 Please consider upgrading your plan

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!