From 13a7b730e3eb1eeb697aa3fefb17b68b1aa8572a Mon Sep 17 00:00:00 2001 From: Connor McDowell Date: Thu, 25 Jan 2024 17:35:30 -0800 Subject: ready 1 --- Excersize 6.cpp | 35 ----------------------------------- 1 file changed, 35 deletions(-) (limited to 'Excersize 6.cpp') 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(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 -- cgit v1.2.3