Computer Science, asked by prasannalingoju0393, 29 days ago

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 damanjeetsampley
0

Answer:

gajavvshsisksnsnsomamananaj

Similar questions