Question 2: A student will not be allowed to sit in exam if his/her attendance is less than 75%. Take following input from user Number of classes held Number of classes attended. And print percentage of class attended Is student is allowed to sit in exam or not.
Variables name:
Choose meaningful and descriptive names. No x, y … etc.
Use lowercase. If the name consists of several words, concatenate all in one, use
lowercase for the first word, and capitalize the first letter of each subsequent word in
the name. For example, the variables radius and area, and the method computeArea.
3. File type: only JAVA file is allowed. Name it as Assignment2. Java
5. Please add the appropriate comments for each step you add. In the top of the program, add
your name, time of starting writing the code and title of the assignment. Extra information
would be great
According to the information given:-
We have to follow the instruction and code to get desired output.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images