- 2
Help me!! Please!!
int main() { int chyslo; int sum = 0; int i = 0; do { cout << "\nPlease input chyslo"; cin >> chyslo; ++i; // there should be check or index that is variable and is a prime number. Help me!! fix code!! // if it is simply the amount increased by the introduction of number Hep me!! fix code!! } while (chyslo!=0); system("pause"); return 0; }
4 Respostas
+ 1
do you want to validate wether chyslo is a prime number?
+ 1
go to code play ground, and check most recent codes, it might help
0
yes
0
understand