Computer Science, asked by minisuresh579, 2 months ago

pls ans this question​

Attachments:

Answers

Answered by ArpitMishra506
1

Answer:

import java.util.Scanner;

public class Class

{

public static void main(String args[])

{

Scanner scn = new Scanner(System.in);

System.out.print("Enter your class ( 1 to 12) : ");

int cl=scn.nextInt();

if(cl<=5)

System.out.println(" Primary Section ");

else if(cl<=8)

System.out.println(" Middle Section ");

else if(cl<=10)

System.out.println(" ICSE Section ");

else if(cl<=12)

System.out.println(" ISC Section ");

}

}

.

.

.

.

HOPE THIS HELPS YOU FRIEND

Answered by AshwinKannan
0
Answer:
The Answer is Given Above
Similar questions