Write a program which prompts the user to enter as integers


Write a program which prompts the user to enter as integers the base and height of a right-angled triangle. The program then computes and displays the area of the triangle (displayed as a floating point number in the format 999.99). Use four functions: main, one to read the data, one to compute the area, and one to print the area.

Given that the area of the triangle = 1/2 * base * height

Please make sure the program have every things I asked for.

Request for Solution File

Ask an Expert for Answer!!
Other Subject: Write a program which prompts the user to enter as integers
Reference No:- TGS0593780

Expected delivery within 24 Hours