Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include<math.h>
- using namespace std;
- int main()
- {
- system("chcp 1251>nul");
- double q,check;
- scanf_s("%e", &q);
- if (q != 0) {
- cout << q;
- }
- else
- {
- cout << "ошибка" << endl;
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement