Created
November 4, 2016 12:51
-
-
Save aldesantis/1e973da56bb84b20c07648a0f596caff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
int main() { | |
int numbers[2]; | |
printf("Inserisci il primo numero: "); | |
scanf("%d", &numbers[0]); | |
printf("Inserisci il secondo numero: "); | |
scanf("%d", &numbers[1]); | |
printf("\n"); | |
printf( | |
"Numero maggiore: %d\n", | |
numbers[numbers[0] < numbers[1]] | |
); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment