Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: Math & Visual Logic
09-17-2009, 02:28 AM #1
Math & Visual Logic
Yes, this is not Visual Basic but Visual LOGIC.
OK, so I need to get this done for my Java Programming class.
I can't figure this one out for the life of me! :@
1-3: “As I was going to St. Ives…”: consider the following nursery rhyme:
As I was going to St. Ives, I met a man with seven wives. Every wife and seven sacks, every sack and seven cats, and every cat and seven kittens. Kittens, cats, sacks, and wives, how many were going to St. Ives?
The question at the end is a trick question because only the narrator is going to St. Ives. Write a program to determine the total number of things (including people, animals, and sacks) that were met by the traveler.
Basically I have to write a program that calculates the total.
6+ years club