aboutsummaryrefslogtreecommitdiff
path: root/homework-2/header.h
diff options
context:
space:
mode:
authorraquelc <[email protected]>2024-01-29 20:07:36 -0800
committerraquelc <[email protected]>2024-01-29 20:07:36 -0800
commitd69e94483a67629a8ed2b38e31e1e96a37ebcf64 (patch)
tree8b2e274a8f828f52eb374b1e9e88dbc944e4cd61 /homework-2/header.h
parentadd deadline (diff)
downloadhomework-2-raquel191-main.tar.xz
homework-2-raquel191-main.zip
complete hw2HEADmain
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;
+*/
+