summaryrefslogtreecommitdiff
path: root/4p35.cpp
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-08-22 20:56:13 +0200
committerOskar <[email protected]>2024-08-22 20:56:13 +0200
commit1208defdbc457a89c0d9aea3b8faf86b8492761f (patch)
treedf04141a05d788074030111b01735e65c7655c0b /4p35.cpp
parent5e6954e218455d912686f9adda25ddcd09ca267c (diff)
more
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;
+}