As the condition says Number of days in the year: x , where x is 366 for a leap year, and x is 365 for an ordinary year. I think the CORRECT output line of code like this -->System.out.println(Number of days in the year: x). it should NOT be like as I've done on line 18 & 21. Intelli J Idea ISSUE : This is with the reference variable stryr (in ide it is underlined green) on line 14. when i move cursor over this in IDE it shows Typo: in word stryr Why it is so? And more thing what does this yellow bulb indicates in IDE if everything is fine.