You are on page 1of 1

WORKSHEET

1. Write a Pseudocode algorithm to read values into variables: Month, Date, and Year.

2. Write an assignment statement to store the 500.

3. Write a pseudocode algorithm to read the names and ages of eight students.

4. Write a pseudocode algorithm to read two numbers and find their sum and product.

5. Write a pseudocode algorithm to print the larger value of two variables X and Y.

6. Write a pseudocode algorithm to read two numbers into variables X and Y. The algorithm
should store the larger in Y and the smaller in X, and print the contents of X and Y.

7. Write a pseudocode algorithm to read values into A and B and subtract the larger number
from the smaller.

8. Write a pseudocode algorithm to read an integer value for MARK and print the appropriate
grade based on the following:
Mark Grade
80 or more A
Less than 80 but 65 or more B
Less than 65 but 50 or more C
Less than 50 but 45 or more D
Less than 45 F

You might also like