#include <iostream> using namespace std; int main() { double a; cin >> a; cout << (a/10)%10 << endl; return 0; }
87
prog.cpp: In function ‘int main()’: prog.cpp:6:18: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator%’ cout << (a/10)%10 << endl; ~~~~~~^~~
Standard output is empty