Answer:
It is really slow to write and easily leads to errors, It is extremely hard to debug and It is hard to read.
Explanation:
I personally would test out the item again in story and if it still doesn't work get him/her a different one that has been tested and works, and dont forget to apologize for the inconvenience <span />
Answer:
Hi, I'm going to put the code answer here and you put in the corresponding line to not copy all the code in the answer.
replace the following line or adjust to the following code
/*
* CODE HERE
while(personSelect <= 0 || personSelect > 5) {
System.out.println("Wrong number, try to input the number in range 1 to 5" );
personSelect = scan.nextInt();
}
if(personSelect == 1){
person1.setGpa(newGPA);
printInfo()
}
else if(personSelect == 2){
person2.setGpa(newGPA);
printInfo()
}
else if(personSelect == 3){
person3.setGpa(newGPA);
printInfo()
}
else if(personSelect == 4){
person4.setGpa(newGPA);
printInfo()
}
else {
person5.setGpa(newGPA);
printInfo()
}
*/
Explanation:
According to the description of code, we have to add some lines to resolve the questions.
a):
In base on the input, we have to modify the <em>attribute GPA</em> with the method <em>setGpa</em> depending on the person chosing. We call the person chosen before and also call the method setGpa( ) and pass as <em>parameter</em> the GPA value obtained in tha last input
b)
In this case we have to <em>create a loop</em> for iterate the times that is necesary to get a value of person that is permit in <em>range 1 to 5</em>, and hence that we create and individual if condition to assign the GPA to the person chosen.
I hope it's help you.
Based on the Microsoft Excel data validation, the option that is not an Error Style for data validation is the <em><u>choice that does not show an error alert.</u></em>
Given that there is no option available, the best way to answer this question is to show the types of Error Styles for data validation available.
<h3>Different types of Error Style for data validation</h3>
- Stop style: this will bring the option of "Retry, " "Cancel, " and "Help."
- Warning style: this will show "Continue," with options of "Yes," "No," "Cancel," and "Help."
- Information Style: this will ask you to input the whole number with the option of "Ok," "Cancel," and "Help."
Hence, in this case, it is concluded that the Error Style for data validation is Stop, Warning, and Information Style.
Learn more about Error Style for data validation here: brainly.com/question/18497347