subject

Can someone tell me if this pseudocode for a case statement makes sense? ^^;

target num ← 3 case target num of
1: score ← score + 20
2: score ← score + 10
3: score ← score + 30
output score
end case

im trying to set 3 different targets and change the score by those values for each target that a ball collides with just wanted to know if i did something wrong or im using this case statement the wrong way ^^;

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:00
Hyperactive media sales has 10 windows 7 laptop computers used by sales-people in the organization. each laptop computer has several customized applications that are used during the sales process as well as customer relationship management software. all of the applications on the laptops are difficult to configure and have large data files. if all of the laptops have current hardware, what is the easiest way to install windows 10 on them?
Answers: 1
question
Computers and Technology, 22.06.2019 23:20
How can you tell if someone sent you a text message to your email instead of a email
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
Before you record your own voice, you should a. record other people's voices b. warm up and practice difficult names c. listen to your favorite songs d. read a transcript of a good radio news segment
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Font size, font style, and are all aspects of character formatting.
Answers: 2
You know the right answer?
Can someone tell me if this pseudocode for a case statement makes sense? ^^;

target num...
Questions
question
Mathematics, 18.01.2021 23:00
question
Mathematics, 18.01.2021 23:00
question
Biology, 18.01.2021 23:00
Questions on the website: 13722363