Chapter 3: Exercise C (c) Solution
Duration: 4:30 Min | May 30, 2023
Question C (c) from Let us C Chapter 3 Decision Control instructions is:
Attempt the following: Any year is input through the keyboard. Write a program to determine whether the year is a leap year or not. (Hint: Use the % (modulus) operator)
This question is one of the best and simplest problem to start with while learning if statement in C.