Details of this Paper

Design an algorithm that will prompt for and accept a four-digit representation of the year (for example, 2003). Your program...

Description

solution


Question

Design an algorithm that will prompt for and accept a four-digit representation of the year (for example, 2003). Your program is to determine if the year provided is a leap year and print a message to this effect on the screen. Also print a message on the screen if the value provided is not exactly four numeric digits. Continue progressing until a sentinel of 0000 is entered.

 

Paper#73008 | Written in 18-Jul-2015

Price : $22
SiteLock