Texts: ZyBooks My library > PRG 211: Algorithms And Logic For Computer Programming home > 1.21: Code: Variables and assignments
zyBooks catalog ? Help/FAQ Don Houston Jr
CHALLENGE ACTIVITY
1.21.2: Writing variables and assignments
99730.1869310.qx3zqy
Start
Write code that assigns numResult with numOne * numTwo.
Ex: If numOne is 4 and numTwo is 2, the output is:
Result: 8
integer numResult
integer numOne
integer numTwo
numOne = Get next input
numTwo = Get next input
// Your solution goes here
Put Result: " to output
Put numResult to output
Code Flowchart
1
Check
Next
Type here to search
Inbox
Fz
Ps Untitled-
98*F
10
1:40 PM 7/5/2023