Guest User

Untitled

a guest
Oct 19th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. float n;
  2. const int sizeZ = 20;
  3. int Z[sizeZ]{ };
  4. float func;
  5. cout << "Enter your values:" << endl;
  6. cin >> n;
  7. for (double x = 0; x < 2; x += 0.1) {
  8. float func = n*(cos(n*x));
  9. cout << "result:" << func << endl;
  10. }
  11. if (sizeZ > 0) {
  12. cout << "unsigned values" << sizeZ;
  13. }
  14. system("pause");
  15. }
Add Comment
Please, Sign In to add comment