summaryrefslogtreecommitdiff
path: root/4p35.cpp
diff options
context:
space:
mode:
Diffstat (limited to '4p35.cpp')
-rw-r--r--4p35.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/4p35.cpp b/4p35.cpp
new file mode 100644
index 0000000..d5483fd
--- /dev/null
+++ b/4p35.cpp
@@ -0,0 +1,22 @@
+#include <iostream>
+
+/*
+ *
+ * 4.35
+ *
+ *
+ */
+
+char cval;
+float fval;
+int ival;
+unsigned int ui;
+double dval;
+int main () {
+
+ cval = 'a' + 3;
+ fval = ui - ival * 1.0;
+ dval = ui * fval;
+ cval = ival + fval + dval;
+ return 0;
+}