In pseudocode
num2guess = random(1,100)
pnum = 0
while (pnum != num2guess) {
pnum = ask_player("What number I'm thinking?")
if (pnum > num2guess) {
print("Too high.")
} else if (pnum < num2guess) {
print("Too low.")
}
}
print("Good job!")
Answer:
the second one
Step-by-step explanation:
correct me if I'm wrong
Answer:
4 = $8
6 = $12
9 = $18
10 = $20
Explanation:
Well if there are three tickets and the cost is six dollars then all you are doing is multiplying by two.
Answer:
x +(2x + 3) = 33
Step-by-step explanation:
two equations can be derived from the question
c = 3 + 2x equation 1
c + x = 33 equation 2
where :
c = cappuccinos
x = lattes
make c the subject of the formula in equation 2
c = 33 - x equation 3
equate 3 and 1
x +(2x + 3) = 33
The answer is C
You would distribute the 5 so 5 times x= 5x
and 5 times positive 10 = 50
You are left with 5x=50