Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int a, b, impar, i;
- printf("Entre com dois numeros inteiros: ");
- scanf ("%d %d", &a, &b);
- i=a;
- for (i>=a;i<b;i++)
- {
- impar=i%2;
- if (impar!=0)
- printf ("%d ", i);
- }
- return(0);
- }
Advertisement
Add Comment
Please, Sign In to add comment