import java.util.scanner;
public class main
{
public static void main(String args[])
{
Scanner myObject=new Scanner(System.in);
System.out.println("Enter name ");
String name=myObject.nextLine();
System.out.println("Enter roll number");
int roll number=myObject.nextInt();
System. out. println("Enter branch");
String Branch=myObject.nextLine();
System.out.println("Enter age");
int age=myObject.nextInt();
System.out.println("name:");
System.out.println("roll number:" );
System.out.println("branch:");
System.out.println("age:");
}
}
iam getting error in 10 th line
Answers
Answered by
0
Answer:
gajavvshsisksnsnsomamananaj
Similar questions
Social Sciences,
1 month ago
Math,
1 month ago
Sociology,
1 month ago
CBSE BOARD X,
2 months ago
Sociology,
2 months ago
Math,
10 months ago
English,
10 months ago