Question: Given an arbitrary number x, write an inline if statement to assign variable y the value 1 if the x is an odd number &
Given an arbitrary number x, write an inline if statement to assign variable y the value 1 if the x is an odd number & divisible by 7 at the same time. Otherwise, assign 0 to variable y
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
