Chapter 3: Problem 8
Write an if-else statement that assigns 20 to the variable \(y\) if the variable \(x\) is greater than \(100 .\) Otherwise, it should assign 0 to the variable \(y\).
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.