Coding challenge C language | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 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*

29th Jul 2018, 7:59 PM
Denis Kiprono
2 Answers
+ 2
Are you looking for anyone to make your school homework here?
29th Jul 2018, 8:18 PM
Steppenwolf
Steppenwolf - avatar
0
#include <stdio.h> int main() { printf("i will do my own homework"); }
30th Jul 2018, 7:32 AM
hinanawi
hinanawi - avatar