summaryrefslogtreecommitdiff
path: root/4p36.cpp
diff options
context:
space:
mode:
Diffstat (limited to '4p36.cpp')
-rw-r--r--4p36.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/4p36.cpp b/4p36.cpp
new file mode 100644
index 0000000..5667dcb
--- /dev/null
+++ b/4p36.cpp
@@ -0,0 +1,16 @@
+#include <iostream>
+
+/*
+ *
+ * 4.36
+ *
+ *
+ */
+
+int main () {
+
+ int i = 10;
+ double d = 2;
+ std::cout << (i *= static_cast<int>(d)) << std::endl;
+ return 0;
+}