Saved Bookmarks
| 1. |
What will be the output of the following code:int year;cin>>year;if(year%100==0)if(year%400==0)cout<<"Not Leap year";If the input given is1. 20002. 20033. 2010? |
|
Answer» 1. Output (Input = 2000) Leap 2. Output (Input = 2003) Not leap Year 3. Output (Input = 2010) Not leap Year |
|