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

#1 diamonddave1065  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • 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  Icon User is offline

  • Perfectly Squared ;)
  • member icon

Reputation: 408
  • View blog
  • Posts: 1,440
  • 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  Icon User is offline

  • Code herder
  • member icon

Reputation: 3552
  • View blog
  • Posts: 11,009
  • 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