1
0
Fork 0

Upload files to 'stuff/01-11-2021'

This commit is contained in:
MGislv 2021-11-01 14:56:11 +00:00
parent 4328c4caa2
commit fe9fca07ee
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
#include <stdio.h>
int main()
{
int n;
do {
scanf("%d", &n);
if ((n + 1) % 2 == 0)
printf("\nIl numero successivo, %d, è pari\n", n + 1);
else
printf("\nIl numero successivo, %d, è dispari\n", n + 1);
} while (n != 0);
}