Answer:
The conditional statement and its flowchart can be defined as follows:
Explanation:
Conditional statement:
if x>100 Then //defining if that check x value greater than 100
y=20//holding value in the y variable
z=40//holding value in z variable
End if
Answer:
I would go with A and B.
Explanation:
The .edu extension means that the information has been verified by educational institutions and most of the time even run by them. This is why it's good to trust sites with the .edu extension.
Similarly, .gov is run by government organizations so not just anyone can upload or edit content. Governments surely fact-check their information before uploading it to their website so they are trustworthy sources.
I believe that is false, but note I could be wrong.
Your while statement is in error
<span>while (wage = 0) assigns 0 to wage.
What you want is to compare wage to 0, ie.:
while (wage == 0).
However, comparing double's to some value is very bad practice due to rounding errors. Much safer is to always have a < or > in there:
while (wage < 0.0001)
If you confuse assignment (=) and comparison (==) often, and you don't have a compiler to warn you for this, you can adopt the coding style to put the constant first:
while(0 == x)</span>