diff options
| author | Connor McDowell <[email protected]> | 2024-01-27 15:22:32 -0800 |
|---|---|---|
| committer | Connor McDowell <[email protected]> | 2024-01-27 15:22:32 -0800 |
| commit | 8771e43a12d4a704f6a08ed6b16def0686fce30d (patch) | |
| tree | 11f517bd40bb50e8e6e60ceb5a45fa9276ef0062 /Project1/header.h | |
| parent | testing two (diff) | |
| download | in-class-exercise-6-connormcdowell275-8771e43a12d4a704f6a08ed6b16def0686fce30d.tar.xz in-class-exercise-6-connormcdowell275-8771e43a12d4a704f6a08ed6b16def0686fce30d.zip | |
Inclass 6 overload functions created, problem with math_func() (return 1) will troubleshoot.
Diffstat (limited to 'Project1/header.h')
| -rw-r--r-- | Project1/header.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Project1/header.h b/Project1/header.h index a172276..de29a83 100644 --- a/Project1/header.h +++ b/Project1/header.h @@ -1,14 +1,12 @@ #ifndef MY_HEADER_FILE_H #define MY_HEADER_FILE_H -int returnInt(); +int math_func(); -int sum(int a, int b); +int math_func(int square = 2); -float percentage(int a, int b); +int math_func(int a, int b); -float FtoC(int fah); - -float CtoF(int cel); +int math_func(int A, int B, int C, int = 2); #endif MY_HEADER_FILE_H
\ No newline at end of file |