Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 27th, 2006, 6:15 PM   #1
lakitu
Newbie
 
Join Date: Feb 2006
Posts: 4
Rep Power: 0 lakitu is on a distinguished road
Flowchart Problem

hi everyone!

I am struggling to figure out a way to solve this problem and would appreciate any help. Basically I need a flowchart that will calculate the area of squares. The user will have to input the length of the square(L), and how many squares he needs(N) but also the square size increment(I)

eg . L = 10, N = 4, I = 2 then three square areas of

L = 10, L = 12 and L = 14 L = 16 will be calculated and displayed.

I figured out i will need to do thes actions.

- intitialize the values of A and B.
- calculate the area of a square.
- increment the values of A and B.
- test the value of B against N, and loops back if there are more squares to calculate.


This is what I have done so far I am struggling on how i can intialize the values of A and B I think i have done this wrong.

Note * the flowchart is in two doc files*
Flowchart

Any help on how i can make this flowchart work would be grately appreciated.
lakitu is offline   Reply With Quote
Old Feb 28th, 2006, 2:54 PM   #2
lakitu
Newbie
 
Join Date: Feb 2006
Posts: 4
Rep Power: 0 lakitu is on a distinguished road
Hi can anyone help I just need help as to how to intialize the values of A and B ? Any guidance would be great.
lakitu is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:27 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC