you want to display your biodata on the output screen write a program in Java to perform the task in the given format,
Name..............
Father,s name...........
Date of birth.............
Blood group.......
Aadhar card no....
state..........
Answers
Answered by
43
Hi dude! It will help you. import java.util.*; Class Ankit { public static void main( Strings args[]) { Scanner obj = new Scanner ( System.in); System.out.println("Enter the Name "); String name = obj.nextInt(); System.out.println("Enter the Father's name "); String Father'sname = obj.nextInt(); System.out.println("Enter the D.O.B. "); String DOB = obj.nextInt(); System.out.println("Enter the Blood Group "); String BloodGroup = obj.nextInt(); System.out.println("Enter the AadharcardNo "); String AN = obj.nextInt(); System.out.println("Enter the State "); String state = obj.nextInt(); System.out.println("Name :- "+ name); System.out.println("Father's Name :- "+ Father'sname); System.out.println("Date of Birth :- "+ DOB); System.out.println("Blood GROUP :- "+ BloodGroup); System.out.println("Aadhar Card No" :- "+ AN); System.out.println("State" :- +state); } } Hope It helps
Ankit02:
Thanks for appreciation !
Similar questions
Biology,
6 months ago
Social Sciences,
6 months ago
Math,
6 months ago
English,
1 year ago
Physics,
1 year ago