Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 11-20-2016, 01:42 PM   #1
Beta Member
 
Join Date: Nov 2016
Location: United States
Posts: 1
Default pseudocode

Hello everyone, this is my first post! I am god awful at writing pseudocode! Mostly when it comes to loops and arrays. Any advice, tips or anything on how to start writing this or tips on the program its self would be helpful thanks in advance.
Attached Images
File Type: png cart1.PNG (28.6 KB, 5 views)
File Type: jpg cart2.jpg (59.4 KB, 4 views)
File Type: jpg cart3.jpg (49.0 KB, 2 views)
File Type: png cart4.PNG (25.6 KB, 2 views)
__________________

chase3856 is offline   Reply With Quote
Old 12-08-2016, 02:34 PM   #2
Beta Member
 
Join Date: Dec 2016
Location: UK
Posts: 1
Default Re: pseudocode

Not sure what this relates to but I'm not sure why you wnat to count q from 1 to 999. Surely you have a paramter that ends the loop? I.e Do WHILE
__________________

belpifs is offline   Reply With Quote
Old 12-09-2016, 08:07 AM   #3
Fully Optimized
 
strollin's Avatar
 
Join Date: Mar 2011
Location: USA
Posts: 1,630
Default Re: pseudocode

Along with what belpifs said about the loop from 1 to 999, you're also going to be in trouble by using fixed size arrays. What happens when someone tries to enter the 1000th item?

I worked as a software engineer for 30 years and never used pseudo code. Is this a school assignment? The only place I ever had to write pseudo code was in school.

My only recommendation would be to make the pseudo code more generic and less specific. For instance, instead of multiple entries showing the array names and sizes, use one box that says, "Create required arrays" or something like that. Instead of showing loop as "q 1 to 999", simply say "Input loop" or something like that.
strollin is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 01:36 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0