A BIG BIG THX!!!!!
the phrase "How does the number of stars change on each line" is the solution!!!
thx again
!!
Main Topics
Browse All Topicshello,
i have to create a program to Eiffel that ask the user to enter for an odd integer and
then create a rhombus shape using * (with out any libraries ) and using onlly loop + if commands
like that
if number is 3
*
***
*
if the number is 5
*
***
*****
***
*
if the number is 7
*
***
*****
*******
*****
***
*
and so on....
can you help me pls
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: bearwarePosted on 2003-11-27 at 06:39:15ID: 9831963
Sounds like homework. So here are some clues.
How many wide is each shape.
How high is each shape.
How does the number of stars change on each line (just do the top part first when its working add the bottom part)
How many spaces before the start. (do spaces as # get this working before adding stars, changes # to space when it all works)
Write a sceliton for the draw_rombus routine, write a requires clause for it. (answer is in the question)
In you class have a feature number_of_line_output : INTEGER
Write an ensure for draw_rombus that uses number_of_line_output
Write a feature that outputs one line. Write an ensures clause for that feature.
P.S. your question is not O.S. spacific
If you get stuck I may add more clues/