The problem
''Ask the user to enter a year and store it in an int. Then assign to a _Bool variable the value
true if the year is a leap year. The leap year is any year whose number is a multiple of four.
Take into account that years whose numbers are multiples of 100, except of 400, are NOT
leap years. Thus 2000 was a leap year, but 1700, 1800, 1900 were not.''
I know this might seem an easy task for all those who know C by heart but i'm finding it hard to find examples online and on longish ebooks.
what is a _Bool variable?
how is the if then statement written exactly in c?