aboutsummaryrefslogtreecommitdiff
path: root/Excersize 5.cpp
diff options
context:
space:
mode:
authorArthur Spears <[email protected]>2024-02-03 13:07:25 -0800
committerArthur Spears <[email protected]>2024-02-03 13:07:25 -0800
commited2dc4c46adae870285806856740ea6dd456ead7 (patch)
treec66ad4c9c245b2b4fe060242b8b32cb9f8b95611 /Excersize 5.cpp
parentadded excersize 5 into file. (diff)
downloadin-class-exercise-5-connormcdowell275-ed2dc4c46adae870285806856740ea6dd456ead7.tar.xz
in-class-exercise-5-connormcdowell275-ed2dc4c46adae870285806856740ea6dd456ead7.zip
Testing in Main()HEADmain
Added .gitignore
Diffstat (limited to 'Excersize 5.cpp')
-rw-r--r--Excersize 5.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/Excersize 5.cpp b/Excersize 5.cpp
index 6362e6e..69eac61 100644
--- a/Excersize 5.cpp
+++ b/Excersize 5.cpp
@@ -7,12 +7,28 @@
#include "helper.h"
+using std::cout;
+using std::endl;
+
int main()
{
int mySum = sum(15, 30);
std::cout << mySum << std::endl;
+ cout << returnInt() << endl;
+
+ cout << sum(10, 15) << endl;
+
+ cout << percentage(10, 100) << "%" << endl;
+
+ cout << percentage(23, 100) << "%" << endl;
+
+ cout << percentage(56, 100) << "%" << endl;
+
+ cout << FtoC(32) << endl;
+
+ cout << CtoF(212) << endl;
}