Write a program that meets the following requirements: - Prompt the user to enter a score
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a program that meets the following requirements:
- Prompt the user to enter a score between 0 and 100 (both the numbers are inclusive).
Use Scanner class to capture the input.
- Display the message:
If the score is >= 70, display “You pass the course.” and
if the score is < 70, display “You do not pass the course.”
- Use JOptionPane class to display the output.
Related Book For
Introduction to Java Programming, Comprehensive Version
ISBN: 978-0133761313
10th Edition
Authors: Y. Daniel Liang
Posted Date: