Computer Science, asked by jack0024, 5 months ago

Write a program in C to accept two numbers and find greatest of two numbers.

Answers

Answered by swastikmajumder
4

Answer:

#include <stdio.h>

int main (){

int a, b;

printf("Enter two numbers/n");

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

printf("/nGreater number is %d", a>b?a:b);

return 0;

}

Similar questions