Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <math.h>
- using namespace std;
- int main()
- /*{
- int x;
- float a, b;
- cin >> x;
- a = sqrt((2 * x + sin(abs(3 * x))) / 3.56);
- b = sin((3.2 + sqrt(1 + x)) / abs(5 * x));
- a = round(a * 100.0) / 100.0;
- b = round(b * 100.0) / 100.0;
- if ((2 * x + sin(abs(3 * x)) < 0) & ((x == 0) || (x < -1)))
- cout << "error error";
- else {
- if ((x == 0) || (x < -1))
- cout << a << " " << "error";
- else {
- if ((2 * x + sin(abs(3 * x))) < 0)
- cout << "error " << b;
- else
- cout << a << " " << b;
- }
- }
- return 0;
- }
- {
- int x;
- cin >> x;
- if (x % 10 == 0)
- cout << x / 10;
- else
- cout << x % 10 << x / 10;
- }*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement