Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import hsa.Console;
- import java.awt.*;
- public class AcmeChemicalCo{
- Console c;
- public AcmeChemicalCo (){
- c = new Console ("Acme Monthly Salaries");
- }
- public void rulerMAC (){
- //ruler for mac
- System.out.println("1234567812345678123456781234567812345678");
- System.out.println("\t\t\t\t12345678");
- System.out.println ();
- }
- public void drawTitle (){
- //c.print(' ', 30);
- //c.println("Acme Chemical Company");
- System.out.print("\t\t\t "); //total 30 spaces
- System.out.println("Acme Chemical Company");
- System.out.println();
- //c.print(' ');
- //c.print("Employee", 18);
- System.out.print(' '); //total 1 space
- System.out.print("Employee");
- System.out.print(" "); //total 10 spaces
- //c.print("Hourly Rate", 15);
- System.out.print("kJZXHlckjHXZc Rate");
- //c.print("Total Hours Per Week", 26);
- }
- public void displayMarks (){
- }
- public static void main (String[] args){
- MonthlySalary m;
- m = new MonthlySalary ();
- //m.rulerMAC();
- m.drawTitle ();
- m.displayMarks ();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement