Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. import hsa.Console;
  2. import java.awt.*;
  3.  
  4. public class AcmeChemicalCo{
  5. Console c;
  6. public AcmeChemicalCo (){
  7. c = new Console ("Acme Monthly Salaries");
  8. }
  9. public void rulerMAC (){
  10. //ruler for mac
  11. System.out.println("1234567812345678123456781234567812345678");
  12. System.out.println("\t\t\t\t12345678");
  13. System.out.println ();
  14. }
  15.  
  16. public void drawTitle (){
  17. //c.print(' ', 30);
  18. //c.println("Acme Chemical Company");
  19. System.out.print("\t\t\t "); //total 30 spaces
  20. System.out.println("Acme Chemical Company");
  21. System.out.println();
  22. //c.print(' ');
  23. //c.print("Employee", 18);
  24. System.out.print(' '); //total 1 space
  25. System.out.print("Employee");
  26. System.out.print(" "); //total 10 spaces
  27. //c.print("Hourly Rate", 15);
  28. System.out.print("kJZXHlckjHXZc Rate");
  29. //c.print("Total Hours Per Week", 26);
  30. }
  31.  
  32. public void displayMarks (){
  33. }
  34.  
  35. public static void main (String[] args){
  36. MonthlySalary m;
  37. m = new MonthlySalary ();
  38. //m.rulerMAC();
  39. m.drawTitle ();
  40. m.displayMarks ();
  41. }
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement