C Program Tutorial Class- 05
Today I have another video post with you all, I hope you will like it. Today I have shared with you how to create a C program with the values of the three sides of a triangle and run it to see the results, so I have shared it with you through the video and I have shared the C program below this post.
#include<stdio.h>
#include<math.h>
int main()
{
float a, b, c, s, area;
printf("Enter Values:");
scanf("%f %f %f", &a, &b, &c);
s=(a+b+c)/2;
area=sqrt(s(s-a)(s-b)*(s-c));
printf("Area is: %.2f", area);
return 0;
}
You will understand after watching the videos and if you have any questions, please let me know in the comments. Thank you very much to everyone. Have a good day.
Posted with Speem

Hi,
You have received special support because you (or someone on your behalf) sent SBD to @null to promote your post.
You can now promote your posts on Speak on Steem to increase their visibility and potential rewards.
Learn more here:
Curated by @marvinvelasquez
Hi friend
#play
Speem Video Watcher Team @carli24