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

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:00
The fourth generation of computers emerged between 1970s and 1980s. which technological advancement brought about this generation of computers? which computer architecture was used most in this generation?
Answers: 3
question
Computers and Technology, 23.06.2019 02:30
Rafael needs to add a title row to a table that he has inserted in word. what should he do? use the alignment options. use the merge and center option for all the cells in the top row. use the merge and center option on the first two cells in the top row. none of the above
Answers: 3
question
Computers and Technology, 23.06.2019 04:20
Which network media uses different regions of the electromagnetic spectrum to transmit signals through air? uses different regions of the electromagnetic spectrum to transmit signals through air.
Answers: 2
question
Computers and Technology, 23.06.2019 11:30
Auser is given read permission to a file stored on an ntfs-formatted volume. the file is then copied to a folder on the same ntfs-formatted volume where the user has been given full control permission for that folder. when the user logs on to the computer holding the file and accesses its new location via a drive letter, what is the user's effective permission to the file? a. read b. full control c. no access d. modify e. none of the above
Answers: 1
You know the right answer?
Operating Systems h - *** USING TERMINAL MODE ONLY ***
In your Ubuntu VM do the following:
Questions
question
Advanced Placement (AP), 04.12.2020 18:00
question
Mathematics, 04.12.2020 18:00
question
Mathematics, 04.12.2020 18:00
question
Mathematics, 04.12.2020 18:00
question
Social Studies, 04.12.2020 18:00
question
Mathematics, 04.12.2020 18:00
Questions on the website: 13722359