954,506 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

need help to write a pseudocode. am really new at this

write a pseudocode to read a sequence of numbers terminated by 777. the pseudocode should count and print the number of negative values and zero values. the algorithm should also print the product of the positive number.

princecal
Newbie Poster
1 post since Jan 2009
Reputation Points: 10
Solved Threads: 0
 

Why should I?

Rashakil Fol
Super Senior Demiposter
Team Colleague
2,658 posts since Jun 2005
Reputation Points: 1,135
Solved Threads: 177
 

If you were given the assignment to do it by hand, how would YOU do it?

(The manual process makes a good basis for the pseudo code for the computer.)

Murtan
Practically a Master Poster
671 posts since May 2008
Reputation Points: 344
Solved Threads: 116
 
write a pseudocode to read a sequence of numbers terminated by 777. the pseudocode should count and print the number of negative values and zero values. the algorithm should also print the product of the positive number.
do
read number
if(number == 777) break
while(true);

Now you put some effort for your homework.

ithelp
Nearly a Posting Maven
Banned
2,230 posts since May 2006
Reputation Points: 769
Solved Threads: 128
 

Can someone please help me with writing a pseudocode and understand it please

nursereeree
Newbie Poster
2 posts since Nov 2009
Reputation Points: 10
Solved Threads: 0
 

The statement is running on a particular treadmill you burn 3.9 calories per minute. Design a program that uses a loop to display the number of calories burned agter 10, 15, 20, 25, and 30 minutes.

nursereeree
Newbie Poster
2 posts since Nov 2009
Reputation Points: 10
Solved Threads: 0
 

in pseudo code when to use read n get and if end if im confused

shaiq
Newbie Poster
1 post since Mar 2010
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You