Advertisement
EliteBot

CK_HW2_Prob2_Finding Min

Feb 17th, 2020
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.19 KB | None | 0 0
  1. #include<stdio.h>
  2. main()
  3. {
  4.     int a,b;
  5.     scanf("%d %d",&a,&b);
  6.     if(a>b)
  7.     {
  8.         printf("%d\n",b);
  9.     }
  10.     else
  11.     {
  12.         printf("%d\n",a);
  13.     }
  14.    
  15.     return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement