fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. char d[]="E016° ";
  6.  
  7. char c[]="N48° ";
  8.  
  9. int main ()
  10.  
  11. {
  12.  
  13. int c = 3;
  14.  
  15. int d = 4;
  16.  
  17. int e = 2;
  18.  
  19. int f = 8;
  20.  
  21. {
  22.  
  23. double c = 8.5;
  24.  
  25. cout<<::c;
  26.  
  27. cout<<"0";
  28.  
  29. cout<<c;
  30.  
  31. cout<<(d+2);
  32.  
  33. }
  34.  
  35. cout<<c;
  36.  
  37. cout<<", ";
  38.  
  39. cout<<::d <<((f*2)-1) <<"." <<(e) <<(f-(2*d)) <<(e-2);
  40.  
  41. cout <<endl;
  42.  
  43. return 0;
  44.  
  45. }
Success #stdin #stdout 0s 15232KB
stdin
Standard input is empty
stdout
N48° 08.563, E016° 15.200