Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Best structure? 1

Status
Not open for further replies.

tirany

Technical User
Nov 26, 2002
2
US
I need help in finding the best structure. The project is a hotel quote screen. I need to to add $10.00 for every additional guest beyond one for each room. I'm new at this. If somebody could just push me in the right direction, I would be very appreciative...
 
If intGuests > 1 then

x = 0

do until x = intGuests

cur = cur + 10
x = x + 1

loop

end if
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top