please computer experts help
please help type it
Share
please computer experts help
please help type it
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer:
import.java.util.Scanner;
class ABC
{
public static void main (String args [])
{
Scanner sc= new Scanner (System.in);
System.out.println("Enter Name");
String n = sc.nextLine();
System.out.println("Enter class ");
int c = sc.nextInt();
System.out.println("Enter roll number ");
int r= sc.nextInt();
System.out.println("Enter Subject");
String s= sc.nextLine();
System.out.println("Enter School");
String sk=sc.nextLine();
System.out.println("Name :"+n);
System.out.println("Class :"+c);
System.out.println("Roll no. : "+r);
System.out.println("Subject: "+s);
System.out.println("School: "+sk);
}
}