C Program Tutorial Class- 05

in Steem Space2 days ago

Image cover

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.

IPFS Video

Posted with Speem

Sort:  

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

Green Modern Cryptocurrency Presentation (3000 x 800 px).gif

Hi friend

#play

Image

Speem Video Watcher Team @carli24

Loading...

Coin Marketplace

STEEM 0.06
TRX 0.28
JST 0.048
BTC 66851.26
ETH 2001.18
USDT 1.00
SBD 0.49