How do i write pseudocode
Hello Friends,
I had been given an assignment to do, for which i need your help in order to complete my assignment on time. I need to write a pseudocode for the list of employees and their salaries in order to determine the mean (average) salary as well as the number of salaries above and below the mean. Can any body tell me that how can i do it? Does any body know about this issue? Kindly provide me the correct solution for doing it. Would be grateful to you if any body helps me out.
Thanks in advance.
Re: How do i write pseudocode
Pseudocode is nothing but the code , in any particular language, that you write for your application so to write it you must to do the following:-
1) First select the language.
2) Then write flowchart so that you can get the brief idea of the steps in order to encountered it.
3) Then try to make make small modules.
4) And lastly arrange them to have total pseudocode.
Re: How do i write pseudocode
First you may want to make a list of the main tasks that must be accomplished on a piece of scratch paper. Then, focus on each of those tasks. Generally, you should try to break each main task down into very small tasks that can each be explained with a short phrase. There may eventually be a one-to-one correlation between the lines of pseudocode and the lines of the code that you write after you have finished pseudocoding.
Example:
Original Program Specification:
Write a program that obtains two integer numbers from the user. It will print out the sum of those numbers.
Quote:
Pseudocode:
Prompt the user to enter the first integer
Obtain user's first integer input
Prompt the user to enter a second integer
Obtain user's second integer input
add first integer and second integer
store the result in another variable
Display an output prompt that explains the answer as the sum
Display the result
Re: How do i write pseudocode
You can easily do that task with the help of Microsoft Excel. As Excel has many function which can be helpful to you in order to find out the average and other stuffs. It will do your work very fast as you need to know little bit about Excel.