Question: Using a Windows editor ONLY create a Java program named: your last name + first letter of your first name + windowsPgm1.java example robinsonMwindowsPgm1.java In

Using a Windows editor ONLY create a Java program named: your last name + first letter of your first name + windowsPgm1.java example robinsonMwindowsPgm1.java In the above program, from the main method call a new method named: processWindows passing your name, the numbers 3.99, 3.50, and 2 4) At the processWindows method, using System.out.printf display the accepted data, in two rows. On the first row display the first data field, followed by the second and third field using 6 spaces for the interger part and 5 spaces for the decimal part of the number, followed by the fourth field using 6 spaces. On the second row display the label: Average GPA, followed by the result of the computation of field 2 plus field 3 divided by field 4, using 6 integer spaces and 2 decimal spaces. 

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!