If-else Practice Questions
Q No. 01: Create odd and even number program using if else statements. Information: If input = 40 so, Output = 0 (means number is even) Logic for even number: ui%2 == 0 If input = 55 so, Output = 1 (means number is odd) Logic for odd number: ui%2 == ...
Oct 2, 20233 min read5
