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

Exercise Programming

Write a simple program to calculate the area of triangle and circle. Your program should allow the user to key in the length and height of the triangle. Use the formula to calculate and display the area of circle.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views1 page

Exercise Programming

Write a simple program to calculate the area of triangle and circle. Your program should allow the user to key in the length and height of the triangle. Use the formula to calculate and display the area of circle.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Exercise 1. Write a simple program to calculate the area of triangle.

Your program should allow the user to key in the length and height of the triangle. Use the formula to calculate and display the area of triangle. 2. Write a simple program to calculate the area of circle. Your program should allow the user to key in the radius of the circle. Use the formula to calculate and display the area of circle.

You might also like