This preview shows page 1. Sign up to view the full content.
Unformatted text preview: int dM = Integer.parseInt(dogMonth); int dD = Integer.parseInt(dogDay); int dY = Integer.parseInt(dogYear); JOptionPane.showMessageDialog(null,"Your Name and Dog's Birthday is " + dogName + " 0" + dM + "/" + dD + "/" + dY); int Age = 2008 - dY; JOptionPane.showMessageDialog(null,"Your Dog's Age in dog years is " + Age*7); System.exit(0); }}...
View Full Document
This note was uploaded on 10/04/2010 for the course COMPUTER S 106 taught by Professor Moore during the Spring '08 term at Clark Atlanta.
- Spring '08