summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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