import javax.swing.JOptionPane;
public class lab41 {
    public static void main(String[] arg) {
       int age;
       String ageString;
	ageString = JOptionPane.showInputDialog( "How are you\nEnter the age " );
       age =Integer.parseInt(ageString); //convert the string into an integer
       JOptionPane.showMessageDialog( null, "That's my age is " + age + "old.");
     }
} 


