Where are the answers for the questions that you are able to pick from?
Answer:
please find the attachment of the flowchart.
Explanation:
In this question, a start block is used to start the program, in the parallelogram box we input the value from the user end and in the diamond box, we check the input is not equal to 0. In the next diamond box, it checks the given input value and print value, and at the last, we stop the code.
Please find the program and its output in the attached file.
Answer:
The loop increments the value of new while the loop condition is true
The end value of new is 3
Explanation:
Given
The above code segment
Required
What the loop does and the result
We have:
--- initialize new to 0
--- The loop condition;
i.e. the loop will be repeated 3 times (when i = 3, 4 and 5)
--- For each increment of i, new is incremented by 1
So, the value of new is:
<em>i = 3: new = 0 + 1 = 1</em>
<em>i = 4: new = 1 + 1 = 2</em>
<em>i = 5: new = 2 + 1 = 3</em>
Answer:
Binary
Explanation:
Binary code is code that only entails 1s and 0s