A man goes in to a casino' He pays a euro entrance fee, he loses half his money, and he pays a euro - PowerPoint PPT Presentation

1 / 1
About This Presentation
Title:

A man goes in to a casino' He pays a euro entrance fee, he loses half his money, and he pays a euro

Description:

A man goes in to a casino. ... Again, he pays a euro to enter, loses half ... a program to determine the amount that the man started with by testing different ... – PowerPoint PPT presentation

Number of Views:46
Avg rating:3.0/5.0
Slides: 2
Provided by: afis8
Category:
Tags: casino | entrance | euro | fee | goes | half | loses | man | money | pays | testing

less

Transcript and Presenter's Notes

Title: A man goes in to a casino' He pays a euro entrance fee, he loses half his money, and he pays a euro


1
A man goes in to a casino. He pays a euro
entrance fee, he loses half his money, and he
pays a euro to get his coat from the cloakroom
when he leaves. He goes to a second casino.
Again, he pays a euro to enter, loses half his
money in the casino, and he pays a euro to get
his coat from the cloakroom. He goes to a third
casino, pays a euro to enter, lose half of his
money, pays his last euro to get his coat from
the cloakroom and leaves, having spent all his
cash.Write a program to determine the amount
that the man started with by testing different
cash amounts (whole numbers). Start with 5.
Write a Comment
User Comments (0)
About PowerShow.com