write a program to find admission eligibility criteria is : no of transfer is more , age of child is more, marks in math and science is more, income is less.
Answers
Answer:
In Java
import java.util.*;
class admission
{
public static void main(String[ ] args)
{
Scanner scan = new Scanner(System.in);
int age;
double math;
double science;
double income;
System.out.println ("Enter the age:");
System.out.println ("Enter the maths marks:");
System.out.println ("Enter the Science marks:");
System.out.println ("Enter the income:");
age = scan.nextInt();
math= scan.nextDouble();
science= scan.nextDouble();
income= scan.nextDouble();
}
if(age>18)
{
System.out.println("Age is more");
}
if(math>78&&science>89)
{
System.out.println("Obtained marks are high in both the subjects");
}
if(income<10000)
{
System.out.println("Income is less");
}
System.out.println("The entered age is more:"+age);
System.out.println("The obtained maths marks is more:"+math);
System.out.println("The obtained marks in science is more:"+science);
System.out.println("obtaining income is less:"+income);
}
}
}
}