Leap Year Program Using Logical Operator Part 2

Leap year Program using logical operators – Part 2

The part 1 shows how we were wrong to put the logic wrongly. Here is the program with correct code

What is important in this code is importance of brackets besides logical AND and logical OR operators.

Access this framework with lot more stuff like C language MCQ, viva and interview preparation, Glossary, Solved Programs of C language etc.


Leave a Reply