psuedocode into flowchart

Page 1 of 1

2 Replies - 980 Views - Last Post: 05 February 2013 - 06:13 AM

#1 diamonddave1065

• New D.I.C Head

Reputation: 0
• Posts: 1
• Joined: 05-February 13

psuedocode into flowchart

Posted 05 February 2013 - 04:30 AM

Start
input: userLogin Prompt: "Enter your Login ID"
input: userPassword Prompt: "Enter your user password"
output: "Enter your login ID and your user password" userLogin & userPassword
input: accountNum Prompt: "Open account number of all owner's accounts"
input: accountBalance Prompt: "Open Account balance of all owner's accounts"
output: "Read account numbers & account balances" accountNum & accountBalance
while loop condition: transferAmount > = accountTypeBalance
If true:
input: acountType Prompt: "Chose an Account type"
input: transferAmount Prompt: "Enter the amout to transfer"
input: accountTypeBalance Prompt: "The current balances the chosen account"
currentAccountBalance = transferAmount + accountTypeBalance
"Calculate new account type balance" transferAmount + accountTypeBalance = currentAccountBalance
If else:
input: fundsInsufficient Prompt: "Error"
accountTypeBalance = < \$5.00
"Error In Insufficient funds" accountTypeBalance < \$5.00
Exit Loop
Stop

Is This A Good Question/Topic? 0

Replies To: psuedocode into flowchart

#2 raghav.naganathan

• Perfectly Squared ;)

Reputation: 410
• Posts: 1,449
• Joined: 14-September 12

Re: psuedocode into flowchart

Posted 05 February 2013 - 04:38 AM

Well, you need to know the conventions of flowchart as follows.

1. Start and Stop in ellipse.

2. Input and output in parallelogram.

3. Calculations in rectangle.

4. Conditions/Decisions in diamond.

5. Loops as returning arrows.

Use the above conventions and draw your flowchart accordingly.

regards,
Raghav

This post has been edited by raghav.naganathan: 05 February 2013 - 04:42 AM

Was This Post Helpful? 0

#3 Skydiver

• Code herder

Reputation: 6164
• Posts: 21,257
• Joined: 05-May 12

Re: psuedocode into flowchart

Posted 05 February 2013 - 06:13 AM

I don't think this is a C/C++ question. I'm moving it to the Software Development forum.
Was This Post Helpful? 0

Page 1 of 1

 .related ul { list-style-type: circle; font-size: 12px; font-weight: bold; } .related li { margin-bottom: 5px; background-position: left 7px !important; margin-left: -35px; } .related h2 { font-size: 18px; font-weight: bold; } .related a { color: blue; }