Professional Documents
Culture Documents
A. Problems (Sequence)
1. Draw a flowchart that will accept the length of the base and height of a triangle and print the area.
ALGORITHM:
FLOWCHART:
PSEUDOCODE:
2. Draw a flowchart that accepts dollar value and print the equivalent peso value. The flowchart will
convert dollar to peso having an exchange rate of 1 is to 53.25.
ALGORITHM:
FLOWCHART:
PSEUDOCODE:
3. Draw a flowchart that will convert Fahrenheit to Celsius using the formula:
ALGORITHM:
FLOWCHART:
PSEUDOCODE:
4. Draw a flowchart that reads in three numbers num1, num2, num3 and determine which is the largest.
ALGORITHM:
FLOWCHART:
PSEUDOCODE:
5. Draw a flowchart that reads unit price and quantity. Compute and display the amount by multiplying
unit price and quantity.
ALGORITHM:
FLOWCHART:
PSEUDOCODE:
B. Problems (Selection)
1. Display “IT’S COLD!” if the temperature is less than 20, “IT’S HOT!” is the temperature is greater than
30, “COOL CLIMATE” otherwise.
ALGORITHM:
FLOWCHART:
PSEUDOCODE:
2. Output “Congratulations you PASSED!” if the student’s grade is greater than or equal to 75.
Otherwise, output “Sorry, you failed”
ALGORITHM:
FLOWCHART:
PSEUDOCODE:
3. Accept two integers for variables int1 and int2 respectively and print the integers in lowest to highest.
ALGORITHM:
FLOWCHART:
PSEUDOCODE:
ALGORITHM:
FLOWCHART:
PSEUDOCODE:
ALGORITHM:
FLOWCHART:
PSEUDOCODE:
C. Problems (Looping)
ALGORITHM:
FLOWCHART:
PSEUDOCODE:
ALGORITHM:
FLOWCHART:
PSEUDOCODE:
ALGORITHM:
FLOWCHART:
PSEUDOCODE: