C+ Plus Program - Tscl channel 12

C+ Plus Program

 C Program 6

#include<stdio.h>

main ()

{

int b,h;

float area ;

clrscr();

printf("Enter base and height");

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

area=(h*b)/2;

printf("areab of triangle is=%f\n",area);

getch();

}

C+ Plus Program C+ Plus Program Reviewed by Tejpal singh on March 14, 2022 Rating: 5

No comments:

Adsss

Powered by Blogger.