T.V. NAGARAJU TECHNICAL SOLUTIONS
Pages
Home
Online Courses
Tutorials
Operating Systems
C -Excercises
Python Excercises
JAVA Exercises
Placement Papers
Lab Programs
Python Programs
Maximum of two numbers using conditional operators
#include<stdio.h>
int main() {
int x,y,max;
scanf("%d%d",&x,&y);
max=x>y?x:y;
printf("Maximum is %d",max);
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment