Anda di halaman 1dari 1

WRITING SIMPLE PASCAL PROGRAMS

1. Write a simple program that prompts the user to input the


loan amount and the time to be taken to repay the loan. It
then uses this information to calculate then output the
simple interest that would be accrued on the loan.
2. Write a simple program that prompts the user to input two
numbers. The program should then find and output the
square of each number and the product of the two numbers
3.

Write a simple program that prompts the user to enter their


name and year of birth. It should then calculate the persons
age using this current year. It should output (name) your
age is (age)

Anda mungkin juga menyukai