Thursday, July 9, 2009

Activity no. 2 for Programming

Computer Programming
Input-Output and Process Application

Create a flowchart and write the program of the following problems. Draw the flowchart on a short bond paper.

1.Accept three numbers and print the sum of the inputted numbers.
2.Accept three numbers and print the product of the inputted numbers.
3.Create a flowchart that will accept three numbers and prints the sum, product and average of the numbers.
4.Accept a dollar value and print the equivalent peso value. The flowchart will convert dollar peso having an exchange rate of 1 is to 47.50.
5.Create a flowchart that will accept two integers. If the integers are equal, print the sum of the integers, otherwise print the product.
6.Create a flowchart that will input unique integers for A, B, and C and print the highest number.

1 comment:

  1. Is there an answer for question number 5?

    ReplyDelete