Full Question
1. Correct the following code and
2. Convert the do while loop the following code to a while loop
declare integer product
declare integer number
product = 0
do while product < 100
display ""Type your number""
input number
product = number * 10
loop
display product
End While
Answer:
1. Code Correction
The errors in the code segment are:
a. The use of do while on line 4
You either use do or while product < 100
b. The use of double "" as open and end quotes for the string literal on line 5
c. The use of "loop" statement on line 7
The correction of the code segment is as follows:
declare integer product
declare integer number
product = 0
while product < 100
display "Type your number"
input number
product = number * 10
display product
End While
2. The same code segment using a do-while statement
declare integer product
declare integer number
product = 0
Do
display "Type your number"
input number
product = number * 10
display product
while product < 100
MW means megawatt, and one megawatt is a million Watts.
The 2.5 MW turbine is 4/2.5=1.6 $/w
Answer B
Answer:
They essential for the formation of layers in a 3-D model.
Explanation:
Stereolithography is 3D printing process in which a 3D model can be created. In stereolithography technology, there is vat of the UV curable photopolymer which is placed below in lower compartment of machine.
<u>When the machine begins to construct 3D model by the scanning and the building of one layer at one time. Each layer in the model is constructed with UV laser and as laser traces next layer of object material hardens on contact. </u>
Once layer is complete, platform slips down to make room for next layer. This is how, a model is created.
Answer:
yeettttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttsc
Explanation: