/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /** * * @author sysadmin */ import java.io.*; public class nab_2 { public static void main(String[] args) throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); System.out.println("Eneter your name"); String name =br.readLine(); System.out.println("Eneter your Age"); String ageinput=br.readLine(); int age=Integer.parseInt(ageinput); System.out.println("hello "+name); System.out.println("your age is "+age); } }