Главная » 2015 » Октябрь » 13 » методичка 3 задача 2
09:18
методичка 3 задача 2

#include <iostream>
#include <math.h>
using namespace std;
int main()
{
    setlocale(LC_ALL,"rus_rus.1251");
    double s;
    for (double x=0.1;x<=1.1;x=x+0.1)
    {
        s=sin(x);
        cout<<s<<endl;
    }
    system("pause");
    return 0;
}

 

Просмотров: 335 | Добавил: denjes | Рейтинг: 0.0/0
Всего комментариев: 0
avatar