0% found this document useful (0 votes)
41 views1 page

PROGRAM

Uploaded by

Patrick Ramos
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views1 page

PROGRAM

Uploaded by

Patrick Ramos
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

1. Write a program that will add, subtract, multiply and divide two numbers.

Display the results including the remainder of the two numbers after they are
divided.

2. Write a program to calculate a person's pay. The rate of pay is Php. 512.00 per
day. Any days worked after 12 days is paid at the rate of 0.8 times the normal
daily rate. Calculate and display the normal pay, the overtime pay and the total
pay.

3. Write a program that displays all prime numbers between 1 and 50. Prime number
is any number that is divisible by only 1 and itself.

You might also like