Task №184

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> #include <cmath> using namespace std; int main() { int n,a; cout<<"Введите n"<<endl; cin>>n; a = 0; cout<<"Первый цикл"<<endl; while (pow(a,2)<n) { cout<<a<<endl; a++; } cout<<"Второй цикл"<<endl; while (pow(a,2)>n); { cout<<a<<endl; a++; } return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines