• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Is there a pseudocode program out there?

not gonna happen. it would be quicker just to write the psuedo code for youself and turn it in, rather than finding a program to do it.
 
I need to learn but I know java already ! I'd thought this would be easy, just need a guide, I have little or no material on the subject.
 
Are you an idiot? Pseudo code is easy.

You just say what you need it to do.

For instance:

initialize height variable;
initialize width variable;
initialize area variable;


//start of math

Prompt for width;
input width;
Prompt for length;
input height;

area = length times height;

display area;

prompt for another calculation;
if yes goto start of math
if no end;




Just say what you need it to do... if it's more complex you might say like "run check for data subroutine" and have a seperate page of psuedo code for that sub routine...

This is easy stuff. Imagine you are talking to someone that is having trouble with their java code over the phone... you wouldn't speak in code because they'd get confused, but you'd ask if they did things like intialize variables and create loops...

You put it in with some syntax, like put parenthesis and brackets where you will probably need them in the code, but it's language that a moron could understand whether they know java or not.
 
You need more comments in there, as that will be pretty difficult if I have to go in to make a change/update/fix!

😉

Originally posted by: Injury
Are you an idiot? Pseudo code is easy.

You just say what you need it to do.

For instance:

initialize height variable;
initialize width variable;
initialize area variable;


//start of math

Prompt for width;
input width;
Prompt for length;
input height;

area = length times height;

display area;

prompt for another calculation;
if yes goto start of math
if no end;




Just say what you need it to do... if it's more complex you might say like "run check for data subroutine" and have a seperate page of psuedo code for that sub routine...

This is easy stuff. Imagine you are talking to someone that is having trouble with their java code over the phone... you wouldn't speak in code because they'd get confused, but you'd ask if they did things like intialize variables and create loops...

You put it in with some syntax, like put parenthesis and brackets where you will probably need them in the code, but it's language that a moron could understand whether they know java or not.

 
i dont see how you can have issues with writing pseudo code if you can write actual code with correct syntax and semantics. pseudo code is just like programming but more generalized and more natural language based

i.e.

i = 0
while (i < num) {
...
}

(assign) i <- 0
WHILE i is less than num DO...
 
Originally posted by: clarkey01
I need to learn but I know java already ! I'd thought this would be easy, just need a guide, I have little or no material on the subject.

There isn't some universal means of writing pseudocode, like the example above, you just write your code with no language specific syntax, just explanations of what's going on. Very simple.

--Mark
 
Back
Top