#include <stdio.h>
int main() {
int variavelA = 0;
printf("Digite um número maior que zero: "); while (!scanf("%d", &variavelA
) || !variavelA
) { printf("Digite um número maior que zero: "); }
}
//https://pt.stackoverflow.com/q/341604/101
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpIHsKICAgIGludCB2YXJpYXZlbEEgPSAwOwogICAgcHJpbnRmKCJEaWdpdGUgdW0gbsO6bWVybyBtYWlvciBxdWUgemVybzogIik7Cgl3aGlsZSAoIXNjYW5mKCIlZCIsICZ2YXJpYXZlbEEpIHx8ICF2YXJpYXZlbEEpIHsKICAgIAlwcmludGYoIkRpZ2l0ZSB1bSBuw7ptZXJvIG1haW9yIHF1ZSB6ZXJvOiAiKTsKICAgIAlnZXRjaGFyKCk7CiAgICB9CiAgICBwcmludGYoIiVkIiwgdmFyaWF2ZWxBKTsKfQoKLy9odHRwczovL3B0LnN0YWNrb3ZlcmZsb3cuY29tL3EvMzQxNjA0LzEwMQ==