Can you format the question in if-statements or other forms using this code segment?
pu...
Computers and Technology, 20.01.2020 05:31 Amazingboliver4518
Can you format the question in if-statements or other forms using this code segment?
public void setquiz( int quiz, int grade )
{
switch( quiz )
{
case 1: // if quiz == 1
grade1 = grade; //where was grade1 declared?
break; // otherwise execution will continue through the next case block
case 2: // if quiz == 2
grade2 = grade;
break;
}
}
Answers: 3
Computers and Technology, 22.06.2019 11:00
in 2007, floridians died in alcohol-related collisions.a. 501b. 1,051c. 5,015d. 10,839
Answers: 1
Computers and Technology, 22.06.2019 15:00
Who is the first president to use social media as part of his campaign strategy
Answers: 1
Computers and Technology, 22.06.2019 23:30
What are listed in the vertical columns across the top of the event editor? a. file names b. conditions c. check marks d. action types
Answers: 1
Computers and Technology, 23.06.2019 06:00
When is a chart legend used a. all the time b. whenever you are comparing data that is the same c. whenever you are comparing multiple sets of data d. only for hand-drawn charts
Answers: 2
History, 22.04.2020 11:57
Chemistry, 22.04.2020 11:57
Social Studies, 22.04.2020 11:57
Mathematics, 22.04.2020 11:57
Mathematics, 22.04.2020 11:57
Health, 22.04.2020 11:57
Mathematics, 22.04.2020 11:57
Chemistry, 22.04.2020 11:57
Mathematics, 22.04.2020 11:57