codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
#include <iostream> using namespace std; int main () { double x = 1.37 + 1.26 + 1.32; double y = 2.18; cout << x << " * " << y << " = " << (x * y) << endl; double h = 2.94; cout << x << " * " << y << " * " << h << " = " << (x * y * h) << endl; return 0; }
Private
[
?
]
Run code
Submit