The CIST department of CGTC needs a list of all CIST students who made the Dean’s List this semester, in order to invite them to a recognition banquet. The program code for CIST students is CIST and the Dean’s List is defined as having at least a 3.50 GPA. You may go a few different routes with this problem – you can use fewer or more lines, as long as your pseudocode will work and return the correct results. Given the following pseudocode, fill in the missing lines of code. See Bold portions. class DeansListProgram main( ) // declarations string studentName string studentProgram num studentGPA string REQ_MAJOR = “CIST” num REQ_GPA = 3.50 output “Please enter’s student’s name, major, and GPA: “ input studentName, studentProgram, studentGPA a. ________________________ b. ________________________ output “Student is invited!” endIf endIf return endClass
The CIST department of CGTC needs a list of all CIST students who made the Dean’s List this semester, in order
to invite them to a recognition banquet. The program code for CIST students is CIST and the Dean’s List is
defined as having at least a 3.50 GPA. You may go a few different routes with this problem – you can use fewer
or more lines, as long as your pseudocode will work and return the correct results. Given the following
pseudocode, fill in the missing lines of code. See Bold portions.
class DeansListProgram
main( )
// declarations
string studentName
string studentProgram
num studentGPA
string REQ_MAJOR = “CIST”
num REQ_GPA = 3.50
output “Please enter’s student’s name, major, and GPA: “
input studentName, studentProgram, studentGPA
a. ________________________
b. ________________________
output “Student is invited!”
endIf
endIf
return
endClass
Trending now
This is a popular solution!
Step by step
Solved in 2 steps