Advertisement
Guest User

Min.cxx

a guest
Aug 19th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <conio.h>
  3. int main()
  4. {
  5.     int a, b;
  6.     clrscr();
  7.     printf("enter value of a : ");
  8.     scanf("%d", &a);
  9.     printf("enter value of b : ");
  10.     scanf("%d", &b);
  11.     if
  12.         (a > b)
  13.                  printf("a is max");
  14.     else
  15.         printf("b is max");
  16.     getch();
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement