subject

Operating Systems h - *** USING TERMINAL MODE ONLY ***
In your Ubuntu VM do the following:
1) Create a folder called p
2) Move into the pgm1 folder
3) Using a linux editor ONLY create a Java program named:
your last name + first letter of your first name + ubuntuPgm1.java
example robinsonMubuntuPgm1.java
In the above program, from the main method call a new method named:
processUbuntu passing your name, the number 2020, and Spring
4) At the processUbuntu method, using System. out. printf display the accepted data,
in two rows.
On the first row display the first data field, and on the second row display
the second and third accepted data fields, using 10 spaces for the integer part
and 5 spaces for the decimal part of the number.
i - *** USING TERMINAL MODE ONLY ***
In your Windows VM do the following:
1) Create a folder called pgm1
2) Move into the pgm1 folder
3) Using a Windows editor ONLY create a Java program named:
your last name + first letter of your first name + windowsPgm1.java
example robinsonMwindowsPgm1.ja
In the above program, from the main method call a new method named:
processWindows passing your name, the numbers 3.99, 3.51, and 2
4) At the processWindows method, using System. out. printf display the accepted data,
in two row
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.

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 18:20, LuchaPug
Write the pseudocode for the following: a function called fahrenheittocelsius that accepts a real fahrenheit temperature, performs the conversion, and returns the real celsius temperature. a function called celsiustofahrenheit that accepts a real celsius temperature, performs the conversion, and returns the real fahrenheit temperature. a main module that asks user to enter a fahrenheit temperature, calls the fahrenheittocelsius function, and displays the celsius temperature with a user-friendly message. it then asks the user to enter a celsius temperature, calls the celsiustofahrenheit function, and displays the fahrenheit temperature with a user-friendly message.
Answers: 1
image
Computers and Technology, 23.06.2019 00:30, lm18618
Which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 2
image
Computers and Technology, 23.06.2019 13:30, juliajordan427
Best laptops for college [$100-$500 range]?
Answers: 2
image
Computers and Technology, 23.06.2019 17:00, Alexaisokay1
In which of the following ways can using test-taking tips you? a. you can focus on the information that you need to study. b. you will see the answers to the test. c. you will study more. d. you will be less organized.
Answers: 1
You know the right answer?
Operating Systems h - *** USING TERMINAL MODE ONLY ***
In your Ubuntu VM do the following:

Questions in other subjects:

Konu
Mathematics, 10.08.2021 22:20