examples of if then statement on qbasic in computer
Answers
Answered by
4
Explanation:
The If...Then...Else statement conditionally executes a statement or group of statements when the conditional evaluates to True. The conditional represents any valid E-Basic Boolean expression evaluating to True of False.
Answered by
26
Here are some examples of conditional statements: Statement 1: If you work overtime, then you'll be paid time-and-a-half. Statement 2: I'll wash the car if the weather is nice. Statement 3: If 2 divides evenly into \begin{align*}x\end{align*}, then \begin{align*}x\end{align*} is an even number.
Similar questions