summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor McDowell <[email protected]>2024-01-25 17:35:30 -0800
committerConnor McDowell <[email protected]>2024-01-25 17:35:30 -0800
commit13a7b730e3eb1eeb697aa3fefb17b68b1aa8572a (patch)
tree0f71dc2e5ab08215ab4cab984f7167da594f21cd
parentstaging using excersize five as template (diff)
downloadin-class-exercise-6-connormcdowell275-13a7b730e3eb1eeb697aa3fefb17b68b1aa8572a.tar.xz
in-class-exercise-6-connormcdowell275-13a7b730e3eb1eeb697aa3fefb17b68b1aa8572a.zip
ready 1
-rw-r--r--Excersize 6.cpp35
1 files changed, 0 insertions, 35 deletions
diff --git a/Excersize 6.cpp b/Excersize 6.cpp
index 29b82e5..b4af816 100644
--- a/Excersize 6.cpp
+++ b/Excersize 6.cpp
@@ -25,38 +25,3 @@ int returnInt()
return 10;
}
-
-int sum(int a, int b)
-{
- int sum = 0;
- sum = a + b;
-
- return sum;
-}
-
-float percentage(int a, int b)
-{
- int perc = 0;
- perc = (static_cast<float>(a) / b) * 100;
-
- return perc;
-}
-
-
-float FtoC(int fah)
-{
- // -32*5/9
-
- float num = (fah - 32) * (5 / 9);
-
- return num;
-}
-
-float CtoF(int cel)
-{
- // 9/5+32
-
- float num = (cel * (9.0 / 5.0)) + 32;
-
- return num;
-} \ No newline at end of file