freelanceprogrammers.org Forum Index » Java
a seven digit problem
Joined: 11 Apr 2004
Posts: 1
a seven digit problem
Hi all of the programmers, I`ve a small problem, it states that we want to
make a method bool check(int) to test a 7 digit number, we`ve three rules for
the method to return TRUE:
1- The right most digit must be even.
2- The left most digit must be odd.
3- non of the digits repeated in the number ( 1234521 returns FALSE as the digit
`2` repeated.
thank you
tarek
---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
[Non-text portions of this message have been removed]
Joined: 12 Apr 2004
Posts: 1
a seven digit problem
mosh dah el so2al bta3 harf?
ana lesa had exam today henak
Tarek El-Bahnasawy <mrtarrouk@...> wrote:
Hi all of the programmers, I`ve a small problem, it states that we want to
make a method bool check(int) to test a 7 digit number, we`ve three rules for
the method to return TRUE:
1- The right most digit must be even.
2- The left most digit must be odd.
3- non of the digits repeated in the number ( 1234521 returns FALSE as the digit
`2` repeated.
thank you
tarek
---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
[Non-text portions of this message have been removed]
Yahoo! Groups SponsorADVERTISEMENT
---------------------------------
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/beginnersclub/
To unsubscribe from this group, send an email to:
beginnersclub-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
[Non-text portions of this message have been removed]
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







