You are on page 1of 2

File: /home/abel/pgm1/ObregonAubuntuPgm1.

java Page 1 of 2

/*********************************************************************
Author : Abel Obregon
Course : Computer Operating Systems for IT.
Professor : Michael Robinson
Program #1: Creating a File
{ This program is to learn how to write a program in ubuntu terminal mode. }

Due Date : 09/09/2021

Certification:
I hereby certify that this work is my own and none of it is the work of any other person.

..........{ Abel Obregon }..........


*********************************************************************/

public class ObregonAubuntuPgm1


{
public static void processUbuntu(String name, Double number, String term) //processUbuntu
Method
{
System.out.printf("Name: %s %nNumber: %16.5f %nTerm: %S%n", name, number, term);
} //processUbuntu Method ends

public static void main(String args[])//The Main Method


{
processUbuntu("Abel Obregon",2021.99, "fall");//connects to processUbuntu Method

//print out
System.out.printf("Editor: gedit 3.36.2%n"); //Editor that I am currently using
System.out.printf("Save and Continue: CTRL +S%n"); //Telling the user to save and
continue
System.out.printf("Quit: CTRL +W%n"); //Telling the user to quit

}//Main Method ends here

}//End of program
File: /home/abel/pgm1/ObregonAubuntuPgm1.java Page 2 of 2

You might also like