Answer:
A goal of procedural programming
An advantage of object oriented programming
A disadvantage of object oriented programming
A drawback of procedural programming
Answer:
Following is given the program code as required:
Explanation:
- Initially a class is created name RandomGuessMatch.java
- An instance for scanner class is created in main method.
- Now the upper and lower bounds for guess are given by variables MIN (1) and MAX(5).
- Now user will be allowed to guess the number.
- The difference between the guessed number and actual number is calculated.
- This will tell the compiler weather to print correct or incorrect.
<h2>i hope it will help you!</h2>
I think it’s number one...