Skip to content

Instantly share code, notes, and snippets.

@aldesantis
Created November 4, 2016 12:51
Show Gist options
  • Save aldesantis/1e973da56bb84b20c07648a0f596caff to your computer and use it in GitHub Desktop.
Save aldesantis/1e973da56bb84b20c07648a0f596caff to your computer and use it in GitHub Desktop.
#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