aboutsummaryrefslogtreecommitdiff
path: root/homework-2/header.h
diff options
context:
space:
mode:
Diffstat (limited to 'homework-2/header.h')
-rw-r--r--homework-2/header.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/homework-2/header.h b/homework-2/header.h
new file mode 100644
index 0000000..bb364a0
--- /dev/null
+++ b/homework-2/header.h
@@ -0,0 +1,23 @@
+#ifndef MY_HEADER_H
+#define MY_HEADER_H
+
+float FtoC(int fah);
+
+float CtoF(int cel);
+
+#endif
+/*
+#ifdef VERBOSE
+if (enter_num = 1) {
+ std::cout << i << "F to C " << std::endl;
+ std::cout << i << " - 32 * (5/9)" << std::endl;
+ std::cout << "C = " << CtoF(i) << std::endl;
+}
+else {
+ std::cout << i << "C to F " << std::endl;
+ std::cout << i << " (9/5) + 32" << std::endl;
+ std::cout << "F = " << CtoF(i) << std::endl;
+};
+#endif;
+*/
+