C_U1p8.c

#include <stdio.h> #include <stdio.h> void main() { int num1, num2, max; clrscr(); printf("Enter two numbers: "); scanf("%d%d", &num1, &num2); max = (num1 > num2) ? num1 : num2; printf("Maximum between %d and %d is %d", num1, num2, max); getch(); }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.