Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- float n;
- const int sizeZ = 20;
- int Z[sizeZ]{ };
- float func;
- cout << "Enter your values:" << endl;
- cin >> n;
- for (double x = 0; x < 2; x += 0.1) {
- float func = n*(cos(n*x));
- cout << "result:" << func << endl;
- }
- if (sizeZ > 0) {
- cout << "unsigned values" << sizeZ;
- }
- system("pause");
- }
Add Comment
Please, Sign In to add comment