Hallo ik moet een zo groot mogelijk sinus tekenen in c++ maar dit wil niet echt lukken. ik heb voorlopig dit:
#include<iostream>
#include<conio.h>
#include<math.h>
#include<iomanip>
using namespace std;
void main()
{
float x,y;
cout << "teken een zo groot mogelijke sinus;">>;
y=sin(x);
setw(x)
cout <<"sinus=" y >>;
getch();
}
#include<iostream>
#include<conio.h>
#include<math.h>
#include<iomanip>
using namespace std;
void main()
{
float x,y;
cout << "teken een zo groot mogelijke sinus;">>;
y=sin(x);
setw(x)
cout <<"sinus=" y >>;
getch();
}