- 2
Coding challenge C language
Write a program to implement two functions, TriArea(), and TriVolume() to calculate the area of a triangular section(1/2*b*h) and volume of the triangular prism (1/2*b*h*l). Prompt the user to input the dimensions, base, height, and length of the prism each in float data type, then output the values as: Area:*the value here* Volume:*the value here*
2 Réponses
+ 2
Are you looking for anyone to make your school homework here?
0
#include <stdio.h>
int main()
{
printf("i will do my own homework");
}