Use this pseudocode to add code to the program below:
Start
input testScore,...
Computers and Technology, 11.02.2020 00:37 kianajackson9828
Use this pseudocode to add code to the program below:
Start
input testScore, classRank
if testScore >= 90 then
if ClassRank >= 25 then
output "Accept"
else
output "Reject"
endif
else
if testScore >= 80 then
if classRank >= 50 then
output "Accept"
else
output "Reject"
endif
else
if testScore >= 70 then
if classRank >= 75 then
output "Accept"
else
output "Reject"
endif
else
output "Reject"
endif
endif
endif
stop
/* Program Name: CollegeAdmission. java
Function: This program determines if a student will be admitted or rejected.
Input: Interactive
Output: Accept or Reject
*/
import javax. swing. JOptionPane;
public class CollegeAdmission
{
public static void main(String args[])
{
// Declare variables
// Get input and convert to correct data type
// Test using admission requirements and print Accept or Reject
if( testScore >= 90 )
{
if( classRank >= 25)
{
System. out. println("Accept");
}
else
System. out. println("Reject");
}
else
{
if( testScore >= 80 )
{
if( classRank >= 50 )
System. out. println("Accept");
else
System. out. println("Reject");
}
else
{
if( testScore >= 70 )
{
if( classRank >=75 )
System. out. println("Accept");
else
System. out. println("Reject");
}
else
System. out. println("Reject");
}
}
} // End of main() method
} // End of CollegeAdmission class
1. declare two string variables named testScoreString and classRankString
2. declare two integer vaiables named testScore and classRank
3. write the interactive input statements to retrieve a student's test score and class rank from the user of the program
4. write the statements to convert the string representation of a student's test score and class rank to the integer data type
5. compile and excute by entering 60 for the test score 87 for the class rank
Answers: 3
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place? a. the slides panel b. the center panel c. the tasks panel, under the masters pages tab d. the tasks panel, under the layouts tab
Answers: 1
Computers and Technology, 22.06.2019 22:40
Write a program that defines symbolic names for several string literals (chars between quotes). * use each symbolic name in a variable definition. * use of symbolic to compose the assembly code instruction set can perform vara = (vara - varb) + (varc - vard); ensure that variable is in unsigned integer data type. * you should also further enhance your symbolic logic block to to perform expression by introducing addition substitution rule. vara = (vara+varb) - (varc+vard). required: debug the disassembly code and note down the address and memory information.
Answers: 3
Computers and Technology, 23.06.2019 13:00
Which of the following statements is false? a. a class can directly inherit from class object. b. if the class you're inheriting from declares instance variables as private, the inherited class can access those instance variables directly. c. a class's instance variables are normally declared private to enforce good software engineering. d. it's often much more efficient to create a class by inheriting from a similar class than to create the class by writing every line of code the new class requires.
Answers: 3
Computers and Technology, 23.06.2019 15:00
Barbara is interested in pursuing a career in the science and math pathway. which qualifications will her reach that goal? a.an advanced knowledge of physics and math b.an advanced knowledge of engineering and math c. an advanced knowledge of physics and robotics an d. advanced knowledge of machinery and math
Answers: 1
Mathematics, 07.03.2021 20:00
Mathematics, 07.03.2021 20:00
Mathematics, 07.03.2021 20:00
Computers and Technology, 07.03.2021 20:00
Social Studies, 07.03.2021 20:10
History, 07.03.2021 20:10
Chemistry, 07.03.2021 20:10
Physics, 07.03.2021 20:10
Computers and Technology, 07.03.2021 20:10
English, 07.03.2021 20:10
English, 07.03.2021 20:10
Mathematics, 07.03.2021 20:10
Computers and Technology, 07.03.2021 20:10