C Program to Find Perimeter of Triangle

 #include<stdio.h>

void main()

{

    int a,b,c;

    printf("Enter three sides: ");

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

    printf("Perimeter = %d",a+b+c);

}

Comments

Popular posts from this blog

Single Program Using All Automatic String Functions

C program for subtraction of two matrices (2D Arrays)

C program for Multiplication of Two matrices