Question: Write an if-else statement that assigns 0 to the variable b if the variable a is less than 10. Otherwise, it should assign 99 to
Write an if-else statement that assigns 0 to the variable b if the variable a is less than 10. Otherwise, it should assign 99 to the variable b.
Step by Step Solution
3.47 Rating (173 Votes )
There are 3 Steps involved in it
The following ifelse statement assigns 0 to the variable b if the variable a is less than 10 ... View full answer
Get step-by-step solutions from verified subject matter experts
