Question 5: Write a program that reads an integer from the keyboard and test if this integer is even or odd. Question 6:
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Question 5: Write a program that reads an integer from the keyboard and test if this integer is even or odd. Question 6:
Question 5: Write a program that reads an integer from the keyboard and test if this integer is even or odd. Question 6: Write a program that allows the user to insert the ages of Ali, Aaysha, and Fatima, then displays the name of the youngest of the three. Question 7: Write a program that reads a student's grade [between 0 and 100], and then outputs "Pass" if the entered grade is between 60 and 100 (both included), otherwise output "Fail". Question 8: Create a simple Calculator using the switch Statement for the basic operations (+,-, *, /, %), show your output.