Untitled

mail@pastecode.io avatarunknown
plain_text
24 days ago
219 B
0
Indexable
Never
import java.util.Scanner;

Scanner sc = new Scanner(System.in);

String name = sc.nextLine();

char gender = sc.next().charAt(0);

int age = sc.nextInt();
long mobileNo = sc.nextLong();
double average = sc.nextDouble();