The code becomes self explanatory with the help of proper use of-05809
The code becomes self explanatory with the help of proper use of parentheses. Select the right one.
This multiple choice question (MCQ) is related to the book/course vu cs504 Software Engineering - I. It can also be found in vu cs504 Final Term - Quiz No.9.
The code becomes self explanatory with the help of proper use of parentheses. Select the right one.
leapYear = year % 4 == 0 && year % 100 != 0 || year % 400 == 0 ;
leapYear = ((year % 4 == 0) && (year % 100 != 0) || ((year % 400 == 0));
leapYear = ((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0);
leapYear = (year % 4 == 0) && (year % 100 != 0) || (year % 400 == 0);