Laplace transforms pdf

CLICK THE LINK BELOW TO DOWNLOAD LAPLACE TRANSFORMS IMPORTANT FORMULAS IN THE FORM OF PDF

CLICK HERE

Saturday, 23 July 2016

C program to find the maximum and minimum of three given numbers by using conditional operators in single line.

/* write a program to print the maximum and minimum of three given numbers */

#include<stdio.h>
void main()
{
int a,b,c,min,max;
printf("enter any three numbers \n");

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

min=((a<b)&&(a<c))?a:(b<c?b:c);

max=((a>b)&&(a>c))?a:(b>c?b:c);
printf("minimum: %d maximum: %d ",min,max);
getch();
}

No comments:

Post a Comment