#include <stdio.h>
int main() {
int num = 1, primo;
do {
printf("Informe um numero primo maior que 1:"); } while (primo <= 1);
if (primo % num == 0) {
printf("Numero primo %d", primo
); } else {
}
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpIHsKCWludCBudW0gPSAxLCBwcmltbzsKCWRvIHsKCSAgICBwcmludGYoIkluZm9ybWUgdW0gbnVtZXJvIHByaW1vIG1haW9yIHF1ZSAxOiIpOwoJICAgIHNjYW5mKCIlZCIsICZwcmltbyk7Cgl9IHdoaWxlIChwcmltbyA8PSAxKTsKICAgIGlmIChwcmltbyAlIG51bSA9PSAwKSB7CiAgICAgICAgcHJpbnRmKCJOdW1lcm8gcHJpbW8gJWQiLCBwcmltbyk7CiAgICB9IGVsc2UgewogICAgICAgIHByaW50ZigiTnVtZXJvIG7Do28gcHJpbW8iKTsKICAgIH0KfQo=