Uploaded by diwania bloushi

Lab 1

advertisement
IST 128
Lab1
Note: screen shout the answer and the result and paste it under each
question.
1. Write a program in C++ to find the area of Triangle and the area of a
square.
• Area = 1/2 x (base × height)
• Area of a square = Side × Side = S2.
Name : Bader Mohammad
ID : 200200002
2. Write a program in C++ Program to Find Quotient and Remainder
Name : Bader Mohammad
ID : 200200002
Name : Bader Mohammad
ID : 200200002
Download