Using Flowcharts and Pseudocode to Write a Java Program
In this lab, you use the pseudocode in Figure 3-3 to add code to a partially created Java program. When completed, college admissions officers should be able to use the Java program to determine whether to accept or reject a student, based on his or her class rank.
1. Study the pseudocode in Figure 3-3.
2. Open the source code file named Coll egeAdmi ssi on . java using Notepad or the text editor of your choice.
3. Declare two String variables named testScoreString and classitankString.
4. Declare two integer variables named testScore and classRank.
5. Write the interactive input statements to retrieve a student's test score and class rank from the user of the program.
6. Write the statements to convert the String representation of a student's test score and class rank to the integer data type.
7. The rest of the program is written for you. Save this source code file in a directory of your choice, and then make that directory your working directory.
8. Compile the source code file CollegeAdmission.java.
9. Execute the program by entering 87 for the test score and 60 for the class rank. Record the output of this program. ________________________________________________________________________________
10. Execute the program by entering 60 for the test score and 87 for the class rank. Record the output of this program. ________________________________________________________________________________
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.