fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. double d,c;
  7. d,c = 3,14;
  8. std::cout << d << std::endl;
  9. std::cout << c << std::endl;
  10. d = 3.14;
  11. std::cout << d << std::endl;
  12. return 0;
  13. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
0
3
3.14