Computers and Technology, 18.09.2019 19:00, kbelizaire6
Due: tuesday, 9/10 @ 11: 59pm you have the templates of 2 classes, person and program. the person class has 4 attributes, name, age, major and gpa. there is a constructor for the class that is used to make person objects. there are setter/mutator methods and getter/accessor methods for those attributes. there is also a printinfo() method that prints out information about the person. the program class has a main method that has 5 person objects person to person declared and initialized. the main method within the class also has a scanner object that is used to take input for a person number and a newgpa. your task is as follows: a. based on the input of person select select the appropriate person and change their gpa to the newgpa input and then print out their information. for instance if the user types in 1 then select person 1 and print out their information using the printinfo method. do it for all possible inputs from 1 to 5. b. if however the input is not 1 to 5 then inform the user they have to have to type in an appropriate person number. print the following statement: " select a person number between 1 and 5."
Answers: 1
Computers and Technology, 11.07.2019 21:30, jet0120996
Answers: 1
Computers and Technology, 17.08.2019 17:10, leewalker1341
Answers: 2
Computers and Technology, 19.08.2019 17:10, HaseelM
Answers: 3
Due: tuesday, 9/10 @ 11: 59pm you have the templates of 2 classes, person and program. the person c...
Mathematics, 27.10.2020 19:10
Physics, 27.10.2020 19:10
Mathematics, 27.10.2020 19:10
Mathematics, 27.10.2020 19:10
Mathematics, 27.10.2020 19:10
Mathematics, 27.10.2020 19:10