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
World Languages,
14 days ago
CBSE BOARD X,
29 days ago
Sociology,
29 days ago
Math,
8 months ago
English,
8 months ago