Be sure to get the date of April Fool’s Day correct! Use this worksheet to calculate the date of April Fool’s Day this year: http://www.dr-mikes-math-games-for-kids.com/april-fools-date-calculator.html
8 Replies to “Be sure to get the date of April Fool’s Day correct!”
Comments are closed.
HAHAHAAAAA!!!
main()
{ int year;
printf(“Enter the year: “);
scanf(“%d”,&year);
printf(“April fool’s day in %d is 1 April.\n”, year);
}
(Am I showing my age by writing that in C?)
Here’s REALLY showing my age:
10 print “Enter the year: “
20 input year
30 println “April fool’s day in “, year, ” is 1 April.”
I’d do it in Z-80 assembly except that would be too much work — I’d have to go look up a Z-80 opcode manual online somewhere since I’ve forgotten all my Z-80 already 🙂
CHARACTER YEAR*128
PRINT*, ‘ENTER THE YEAR:’
READ *, YEAR
PRINT *, ‘APRIL FOOLS DAY IN ‘,YEAR,’ IS APRIL 1ST’
END
Hmm… I don’t recognize that language… seems like a kind of BASIC?
Wait, FORTRAN? (I never learned FORTRAN)
Never learned Fortran? You’re showing your age 😉
Haha!