Practice exercise: Algorithm & Pseudocode

                   
Algorithm: A step-by-step problem-solving process that defines how a task is 
performed. Those steps are: 1) analyze the problem, 2) list the main tasks, 
3) write the remaining modules, 4) resequence and revise as necessary.

Pseudocode: A language designed to express algorithms.
     
1. Compose pseudocode to express an algorithm to add three numbers together and
   when the sum is not negative print it, otherwise print an exception message.
     
   
   
   
     
2. List the steps to input three values then output them in reverse order.
   
   
   
   
   
3. Repeatedly input and print three integers as long as the first integer input
   is not negative.

   
   
   
      
4. Write a pseudocode for a program that is to input a limit(count) for the
   number of values to input, then input and sum that number of values. Print
   the sum.

   
   
   
      
5. Construct a pseudocode algorithm to input the number of pairs of values to 
   be entered; then input and output each pair in ascending order.

   
   
   
   
   
6. Show the steps to input and sum positive numbers until 10 have been counted. 
   Ignore zero or negative numbers. Print the sum.

   
   
   
   
7. List the steps to input three integers then print them in numeric order.
   
   
   
   

8. Write an algorithm to input a four-digit integer value, then output the 
   individual digits.