Friday, July 31, 2009

Write a program in Java to process the application and list the eligible candidates. Take appropriate examples

Admission to a professional course is subject to the following conditions:


(a) Marks in Maths %26gt;= 75


(b) Marks in Physics %26gt;= 60


(c) Marks in Chemistry %26gt;= 70





Write a program in Java to process the application and list the eligible candidates. Take appropriate examples.

Write a program in Java to process the application and list the eligible candidates. Take appropriate examples
Sounds easy enough.


Ask the user to enter an int for math, physics, and then chem.


Get their name as a string.


Use if-else to determine if the scores are valid for acceptance.





Store the name somewhere. Array? arraylist?





Maybe loop this whole code so new people can be added and output the whole list once they exit the loop.


No comments:

Post a Comment