Inspiration

In grade 5 our teachers told us about an ingenious kid who, when given a date, can instantly tell people the total days passed from 0 AD to get to the given date.

What it does

The mini program, when input with a date in natural number format, can tell users the total number of days passed since 0 AD to get to the given date.

How we built it

It was build in BSL in DrRacket, relying on predicates.

Challenges we ran into

I looped too many predicates and if statements which resulted in the code, at one point, to have 2^10 outcomes. It got increasingly confusing as I began losing track of all the possibilities considered.

Accomplishments that we're proud of

Despite the struggles, I was able to code in the considerations for a leap year and make the output more accurate.

What we learned

What's next for No Python, but cooler

Built With

  • bsl
  • drracket
Share this project:

Updates