Advertisement
tjb1

Untitled

Nov 28th, 2012
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1.  
  2. public class Chap4prob7_fatGRAM_tester {
  3.  
  4. /**
  5. * @param args
  6. */
  7. public static void main(String[] args) {
  8. // TODO Auto-generated method stub
  9. Chap4prob7_fatGRAM fg;
  10.  
  11. fg = new Chap4prob7_fatGRAM(100,10);
  12. System.out.println(fg.getcalories());
  13. System.out.println(fg.getfatGrams());
  14.  
  15. System.out.println(fg.fatCalories);
  16. System.out.println(fg.percentCal());
  17.  
  18. }
  19.  
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement