The client has made the following changes to the job.
Client prefers freelancers from:
You are still able to submit a proposal for this job.
The client prefers freelancers from
a different location.
Write a program that repeats until users chooses to quit. This program will calculate the Area and Perimeter of any triangle.
Use Forms to set up user input.
Three functions, each one computes the area and perimeter of a triangle.
Function 1 is used when you know two sides and the included angle of the triangle.
Function 2 is used when you know two angles and the included side of the triangle.
Function 3 is used when you know the three sides of the triangle.
The input parameters of these functions are the three parts of the triangle plus the perimeter passed by reference. The area is returned by each function.
The user selects the function based on the parts of the triangle they know, the function is called, then after the function returns an area and perimeter by reference, the program outputs the area and perimeter once at the end before it cycles back to repeat.
Sign in or Register to see more