Computer Science, asked by samshahzadi, 1 day ago

write a program that reads two numbers and prints the larger.write this program using conditional operator​

Answers

Answered by likhitaryanp10
1

printf("\n Enter Second Number :" ); scanf("%d",& b); (a > b)? (larger = a) : (larger = b); printf("\n largest of %d and %d is %d", a, b, larger);

Answered by pranavbhave14
2

Answer:

printf("\n Enter Second Number :" ); scanf("%d",& b); (a > b)? (larger = a) : (larger = b); printf("\n largest of %d and %d is %d", a, b, larger);

Similar questions