Write a C program to find maximum between two numbers.
- /*Write a C program to find maximum between two numbers */
- #include <stdio.h>
- int main ()
- {
- int a,b;
- printf("Find the maximum between two number: ");
- scanf("%d %d", &a, &b);
- if ( a < b ){
- printf("Minimum Number:%d\n",a);
- }
- if ( a > b ){
- printf("Maximum Number%d\n",b);
- }
- return 0;
- }