Can anyone give advice/help with a minor programming glitch.We are trying to write a small program for a BTEC college project and are experiencing difficulty making the FOR LOOP operate correctly. If we enter the number of wall we wish to find the area of it always returns one less than the actual number asked for and will not total the overall area. Can you suggest a loop which will calculate the area of a user specified amount of walls and return the total wall area. Any loop will do.
Your assistance with this is much appreciated,
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.