123456789101112131415
#include <iostream> int main () { double b, c; std::cout << "b: "; std::cin >> b; std::cout << "c: "; std::cin >> c; double result = b * c ; if( result == 0.0 ) result = 0 ; std::cout << result << '\n' ; }