C Program To Calculate Area Of Triangle

C program jiski help se hume triangle ka area find karane wale hai.


C Program To Calculate Area Of Triangle


Hume kisi triangle ka base aur height di gayi hoti hai tab hume uska area calculate kaise karana hai ye hum is program me janane wale hai.

C Program To Calculate Area Of Triangle

Program Logic:
Hume height aur base enter karani hai aur jo hume float me declare karani hai, aur usko third variable area me save karana hai.

Formula:

Area of triangle = (height *base)/2

Program:
// WAP to find area of a triangle if Base & Height is given



Output:  
Enter base & height of triangle
50                                               
20                                                                                          
The area of the triangle is
500

Agar aapka koi question ho to app comment me puch sakate hai. Huamre latest updates pane ke liye humara facebook page jarur like kare aur subscribe karana na bhule.

Author:

Professional Bloggger and Author of Hindimeearn.com Completed Master Degree in Computer Science.Passionate about Blogging,Make Money and Web-Designing.Best Knowledge of HTML,PHP,.NET,C,C++ and other programming languages. Know More About Me...

Follow Us :


Related Posts
Previous
« Prev Post

12 comments

28 October 2016 at 01:42

@ Most Welcome Rupa Ji, Keep Visiting....

Reply
avatar
16 November 2016 at 03:22

aap ka blog bhi bahut accha hai sir kya aap ye bata sakte hai ki aap apne blog ke liye image kaise or koun si site se banate hai

Reply
avatar
16 November 2016 at 03:34

or sir kya aap mujhe ye bata sakte hai ki google adsense ke liye mere ek post me lagbhag kitne word hone chahiye lagbhag 800 word kam to nai honge

Reply
avatar
16 November 2016 at 06:50

@ Article unique ho to aap 500-700 words me bhi likh sakate hai lekin 800-1000 wrords best ki post ho to accha hai.

Reply
avatar
18 November 2016 at 19:36

hello sir aap mujhe best templet ke link de sakte ho kya jo mere blog ke liye bahut accha rahe or mobile friendly bhi ho

Reply
avatar
22 November 2016 at 23:52

hello sir blogger.com ne aapne site ko update kiya hai tab se new post likne ke option par click karne par new post likhne ka page open nahi ho rha hai koi tarika hai open karne ka

Reply
avatar
23 November 2016 at 08:11

@ Blogger ne apna look change kiya hai, post me jake new post pe click karo ho jayega.

Reply
avatar
1 December 2016 at 18:03

sir agar koi user u.s.a me hamare adse par click karta hai to uske kitne rupye milte hai india or india ke user click kare hai to uske kitne milte hai

Reply
avatar
1 December 2016 at 23:55

@ Hindimenotes,
Wo cpc rate pe depend hota hai.India ki tulana me USA ka click rate bahut jayda hai.

Reply
avatar