Recent Posts

9-latest-250px-course

Write a C program for Area of Triangle

Write a C program for Area of Triangle



Program:-     

#include <stdio.h>

#include <conio.h>

   void main()

{

int a, b, A;

clrscr();

printf("Enter the value of two number");

scanf("%d%d",&a,&b);

A=(a*b)/2;

printf("%d",d);

getch();

}

Output:-

input:-
Enter the value of two Numbers
a=2
b=3
output:-
3
SHARE

Milan Tomic

Hi. I’m Designer of Blog Magic. I’m CEO/Founder of ThemeXpose. I’m Creative Art Director, Web Designer, UI/UX Designer, Interaction Designer, Industrial Designer, Web Developer, Business Enthusiast, StartUp Enthusiast, Speaker, Writer and Photographer. Inspired to make things looks better.

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment