Posts by xablau.com • 17 points
1 post
-
0
votes5
answers7439
viewsA: Exercise with odd pairs in C
#include <stdio.h> void ex_3() { int n,c=1; do { printf("DIGITE UM NUMERO INTEIRO: "); scanf("%d", &n); if(n<=0) { c=0; } else if(n%2==0) { printf("O NUMERO %d E PAR\n", n); } else…
canswered xablau.com 17