Computer Science, asked by extramarks6667, 10 months ago

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 Ankit02
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