Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Boolean expressions
Junior Member
Status: Offline
Posts: 5
Join Date: May 2012
Default Boolean expressions - 05-16-2012, 09:06 PM

Hello all, I am taking a class in Alice and currently am focusing on Boolean expressions. I was curious to see if anyone had some experience with them and could point me in the right direction to solving the following problem. I AM REALLY LOST.

Years that are evenly divisible by four years are leap years, unless they are evenly divisible by 100, in which they are not leap years, unless they are also evenly divisible by 400, in which case they are leap years. Write a single Boolean expression that can by used to determine if a year is a leap year.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.