SRV college wants to recognize the department which has succeeded in getting the maximum number of placements for this academic year. The departments that have participated in the recruitment drive are CSE,ECE, MECH. Help the college find the department getting maximum placements. Check for all the possible output given in the sample snapshot
Note : If any input is negative, the output should be "Input is Invalid". If all department has equal number of placements, the output should be "None of the department has got the highest placement".
Answers
Answered by
0
Answer:
srv is a worst college
Explanation:
h
Answered by
0
Answer:
import java.util.Scanner;
public class Placement
{
public static void main (String[] args) {
Scanner sc=new Scanner(System.in);
System.out.println("Enter the no of students placed in CSE:");
int CSE= sc.nextInt();
System.out.println("Enter the no of students placed in ECE:");
int ECE=sc.nextInt();
System.out.println("Enter the no of students placed in MECH:");
int MECH=sc.nextInt();
if(CSE<0||ECE<0||MECH<0)
Explanation:
https://www.clashcoder.tech/2020/05/highest-placement-program-in-java.html
Similar questions