The phrase 'life is like a box of chocolates' means that life is unpredictable and that it is full of surprises; you never know what will happen next.
Answer:
You are currently showing as a Virtuoso on your profile. Try clearing your cookies and logging back in.
Answer:
Explanation:
display letter c, type letter r, type letter o, type letter 3, type letter y- i think thats it but i dee cay this is confusing
Answer:
Explanation:
the order of evaluation would be represented as
((a + (b * c)1)2 + d)3
a. a * b - 1 + c
b. a * (b - 1) / c mod d
c. (a - b) / c & (d * e / a - 3)
d. -a or c = d and e
e. a > b xor c or d <= 17
f. -a + b
A:
(a) ( ( ( a * b )1 – 1 )2 + c )3
(b) ( ( ( a * ( b – 1 )1 )2 / c )3 mod d )4
(c) ( ( ( a – b )1 / c )2 & ( ( ( d * e )3 / a )4 – 3 )5 )6
(d) ( ( ( – a )1 or ( c = d )2 )3 and e )4
(e) ( ( a > b )1 xor ( c or ( d <= 17 )2 )3 )4
(f) ( – ( a + b )1 )2
It kind of depends on the intended language, but I can see the following mistakes:
- lines not terminated with a semicolon (but not all languages require this)
- while statement missing parenthesis, ie., while (num1 <= num2), also not required in all languages
- statements below the while statement must be grouped by curly braces
- num1+5 should be num1=num1+5 or num1 += 5
Output will be:
10
15
20
25
30