Display your :Fathers name
Date of birth
Blood group
Aadhaar Card No
State
in a java program
rinkysingh:
why
Answers
Answered by
2
Answer:
Explanation:
import java.util.Scanner;
public class Main {
public static void main(String[] args)
{
Scanner input = new Scanner (System.in);
System.out.print("Input your fathers name: ");
String fathersname = input.next();
System.out.print("Input date of birth: ");
String dateofbirth = input.next();
System.out.print("Input blood group: ");
String bloodgroup = input.next();
System.out.print("Input Aadhaar card No: ");
String AadhaarcardNo = input.next();
System.out.println();
}
}
Similar questions
English,
6 months ago
Math,
6 months ago
Business Studies,
1 year ago
Biology,
1 year ago
Physics,
1 year ago