Encanto | Дата: Суббота, 10.11.2012, 20:55 | Сообщение # 1 |
Offline
Сообщений: 21 |
|
Группа: Администраторы |
|
| #include "stdafx.h" #include <conio.h> #include <iostream> using namespace std;
int main() { int r, S, C; cout<<"Введите радиус круга"<<endl; cin>>r; S=3,14*r*r; C=2*3,14*r; cout<<"Площадь' = "<<S<<endl; cout<<"Длина окружности = "<<C<<endl; getch(); return 0; }
Audaces fortuna juvat
|
|
| |