Информатика, опубликовано 07.12.2019 22:20
Сейчас надо будет оправлять. 30 .
Ответ оставил: Гость
2)#include<iostream>#include <stdlib.h>#include<math.h>using namespace std;int main(){int c=0, b;do{
b = pow( c, 2); c++; cout << b << " ";} while(c<51); system("pause");
}
1)#include<iostream>#include <stdlib.h>#include<math.h>using namespace std;int main(){int c=0, b;
while(c<51){
b = pow( c, 2); c++; cout << b << " ";} system("pause");
}
3)#include<iostream>#include <stdlib.h>#include<math.h>using namespace std;int main(){int c=0, b;
for(c; c<51; c++){
b = pow( c, 2); cout << b << " ";} system("pause");
}
b = pow( c, 2); c++; cout << b << " ";} while(c<51); system("pause");
}
1)#include<iostream>#include <stdlib.h>#include<math.h>using namespace std;int main(){int c=0, b;
while(c<51){
b = pow( c, 2); c++; cout << b << " ";} system("pause");
}
3)#include<iostream>#include <stdlib.h>#include<math.h>using namespace std;int main(){int c=0, b;
for(c; c<51; c++){
b = pow( c, 2); cout << b << " ";} system("pause");
}
Информатика, опубликовано 09.01.2019 16:01
Информатика, опубликовано 09.01.2019 16:01
Информатика, опубликовано 09.01.2019 16:01
Информатика, опубликовано 09.01.2019 16:01