From 7964cee704aaf29d63999055795a13121763bdeb Mon Sep 17 00:00:00 2001 From: JacobAKnox <91796123+JacobAKnox@users.noreply.github.com> Date: Wed, 27 Oct 2021 19:45:16 -0700 Subject: 9b finished --- 10.5/10.5.cpp | 80 ----------------------- 10.5/10.5.sln | 31 --------- 10.5/10.5.vcxproj | 147 ------------------------------------------- 10.5/10.5.vcxproj.filters | 22 ------- 10.5/Output.txt | 31 --------- 9a/10.5/10.5.cpp | 80 +++++++++++++++++++++++ 9a/10.5/10.5.sln | 31 +++++++++ 9a/10.5/10.5.vcxproj | 147 +++++++++++++++++++++++++++++++++++++++++++ 9a/10.5/10.5.vcxproj.filters | 22 +++++++ 9a/10.5/Output.txt | 31 +++++++++ 9b/10.6/10.6.cpp | 108 +++++++++++++++++++++++++++++++ 9b/10.6/10.6.sln | 31 +++++++++ 9b/10.6/10.6.vcxproj | 147 +++++++++++++++++++++++++++++++++++++++++++ 9b/10.6/10.6.vcxproj.filters | 22 +++++++ 9b/Output.txt | 31 +++++++++ 15 files changed, 650 insertions(+), 311 deletions(-) delete mode 100644 10.5/10.5.cpp delete mode 100644 10.5/10.5.sln delete mode 100644 10.5/10.5.vcxproj delete mode 100644 10.5/10.5.vcxproj.filters delete mode 100644 10.5/Output.txt create mode 100644 9a/10.5/10.5.cpp create mode 100644 9a/10.5/10.5.sln create mode 100644 9a/10.5/10.5.vcxproj create mode 100644 9a/10.5/10.5.vcxproj.filters create mode 100644 9a/10.5/Output.txt create mode 100644 9b/10.6/10.6.cpp create mode 100644 9b/10.6/10.6.sln create mode 100644 9b/10.6/10.6.vcxproj create mode 100644 9b/10.6/10.6.vcxproj.filters create mode 100644 9b/Output.txt diff --git a/10.5/10.5.cpp b/10.5/10.5.cpp deleted file mode 100644 index 065bcf3..0000000 --- a/10.5/10.5.cpp +++ /dev/null @@ -1,80 +0,0 @@ -// 10.5.cpp : This file contains the 'main' function. Program execution begins and ends there. -// Written by Jacob Knox -// - - -#include - -using namespace std; - -const int NUM_SCORES = 10; -const int NUM_GRADES = 5; - -int main() -{ - float scores[NUM_SCORES] = {}; - char grades[NUM_SCORES] = {}; - int counts[NUM_GRADES] = {0, 0, 0, 0, 0}; - float score = 0, tot = 0, avg = 0; - - for (int i = 0; i < NUM_SCORES; i++) - { - cout << "Enter score #" << i + 1 << " of " << NUM_SCORES << ": "; - cin >> score; - - scores[i] = score; - tot += score; - - if (score >= 90) - { - grades[i] = 'A'; - counts[0]++; - } - else if (score >= 80) - { - grades[i] = 'B'; - counts[1]++; - } - else if (score >= 70) - { - grades[i] = 'C'; - counts[2]++; - } - else if (score >= 60) - { - grades[i] = 'D'; - counts[3]++; - } - else - { - grades[i] = 'F'; - counts[4]++; - } - } - - avg = tot / (float)NUM_SCORES; - - for (int i = 0; i < NUM_SCORES; i++) - { - cout << "The " << i + 1 << " student recived a " << scores[i] << "% and got a(n) " << grades[i] << ".\n"; - } - - cout << "The average score is: " << avg << "%.\n"; - - char letter; - for (int i = 0; i < NUM_GRADES; i++) - { - - if (i != 4) - { - letter = 65 + i; - } - else - { - letter = 70; - } - - cout << "There were " << counts[i] << letter << "'s.\n"; - } - -} \ No newline at end of file diff --git a/10.5/10.5.sln b/10.5/10.5.sln deleted file mode 100644 index 1cf1787..0000000 --- a/10.5/10.5.sln +++ /dev/null @@ -1,31 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.31729.503 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "10.5", "10.5.vcxproj", "{7E8B1C67-DFAB-4918-9C82-0E34CF6FA2ED}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7E8B1C67-DFAB-4918-9C82-0E34CF6FA2ED}.Debug|x64.ActiveCfg = Debug|x64 - {7E8B1C67-DFAB-4918-9C82-0E34CF6FA2ED}.Debug|x64.Build.0 = Debug|x64 - {7E8B1C67-DFAB-4918-9C82-0E34CF6FA2ED}.Debug|x86.ActiveCfg = Debug|Win32 - {7E8B1C67-DFAB-4918-9C82-0E34CF6FA2ED}.Debug|x86.Build.0 = Debug|Win32 - {7E8B1C67-DFAB-4918-9C82-0E34CF6FA2ED}.Release|x64.ActiveCfg = Release|x64 - {7E8B1C67-DFAB-4918-9C82-0E34CF6FA2ED}.Release|x64.Build.0 = Release|x64 - {7E8B1C67-DFAB-4918-9C82-0E34CF6FA2ED}.Release|x86.ActiveCfg = Release|Win32 - {7E8B1C67-DFAB-4918-9C82-0E34CF6FA2ED}.Release|x86.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {B977F78A-0B4B-47D3-9F8B-33034C132CF9} - EndGlobalSection -EndGlobal diff --git a/10.5/10.5.vcxproj b/10.5/10.5.vcxproj deleted file mode 100644 index bfb6b95..0000000 --- a/10.5/10.5.vcxproj +++ /dev/null @@ -1,147 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - - - 16.0 - Win32Proj - {7e8b1c67-dfab-4918-9c82-0e34cf6fa2ed} - My105 - 10.0 - - - - Application - true - v142 - Unicode - - - Application - false - v142 - true - Unicode - - - Application - true - v142 - Unicode - - - Application - false - v142 - true - Unicode - - - - - - - - - - - - - - - - - - - - - true - - - false - - - true - - - false - - - - Level3 - true - WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) - true - - - Console - true - - - - - Level3 - true - true - true - WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) - true - - - Console - true - true - true - - - - - Level3 - true - _DEBUG;_CONSOLE;%(PreprocessorDefinitions) - true - - - Console - true - - - - - Level3 - true - true - true - NDEBUG;_CONSOLE;%(PreprocessorDefinitions) - true - - - Console - true - true - true - - - - - - - - - \ No newline at end of file diff --git a/10.5/10.5.vcxproj.filters b/10.5/10.5.vcxproj.filters deleted file mode 100644 index a9fedbf..0000000 --- a/10.5/10.5.vcxproj.filters +++ /dev/null @@ -1,22 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms - - - - - Source Files - - - \ No newline at end of file diff --git a/10.5/Output.txt b/10.5/Output.txt deleted file mode 100644 index 3594774..0000000 --- a/10.5/Output.txt +++ /dev/null @@ -1,31 +0,0 @@ -Run: - -Enter score #1 of 10: 99 -Enter score #2 of 10: 45 -Enter score #3 of 10: 69 -Enter score #4 of 10: 87 -Enter score #5 of 10: 76 -Enter score #6 of 10: 52 -Enter score #7 of 10: 10 -Enter score #8 of 10: 80 -Enter score #9 of 10: 34 -Enter score #10 of 10: 26 -The 1 student recived a 99% and got a(n) A. -The 2 student recived a 45% and got a(n) F. -The 3 student recived a 69% and got a(n) D. -The 4 student recived a 87% and got a(n) B. -The 5 student recived a 76% and got a(n) C. -The 6 student recived a 52% and got a(n) F. -The 7 student recived a 10% and got a(n) F. -The 8 student recived a 80% and got a(n) B. -The 9 student recived a 34% and got a(n) F. -The 10 student recived a 26% and got a(n) F. -The average score is: 57.8%. -There were 1A's. -There were 2B's. -There were 1C's. -There were 1D's. -There were 5F's. - -C:\Users\jakno\source\repos\CST116\10.5\Debug\10.5.exe (process 21412) exited with code 0. -Press any key to close this window . . . diff --git a/9a/10.5/10.5.cpp b/9a/10.5/10.5.cpp new file mode 100644 index 0000000..065bcf3 --- /dev/null +++ b/9a/10.5/10.5.cpp @@ -0,0 +1,80 @@ +// 10.5.cpp : This file contains the 'main' function. Program execution begins and ends there. +// Written by Jacob Knox +// + + +#include + +using namespace std; + +const int NUM_SCORES = 10; +const int NUM_GRADES = 5; + +int main() +{ + float scores[NUM_SCORES] = {}; + char grades[NUM_SCORES] = {}; + int counts[NUM_GRADES] = {0, 0, 0, 0, 0}; + float score = 0, tot = 0, avg = 0; + + for (int i = 0; i < NUM_SCORES; i++) + { + cout << "Enter score #" << i + 1 << " of " << NUM_SCORES << ": "; + cin >> score; + + scores[i] = score; + tot += score; + + if (score >= 90) + { + grades[i] = 'A'; + counts[0]++; + } + else if (score >= 80) + { + grades[i] = 'B'; + counts[1]++; + } + else if (score >= 70) + { + grades[i] = 'C'; + counts[2]++; + } + else if (score >= 60) + { + grades[i] = 'D'; + counts[3]++; + } + else + { + grades[i] = 'F'; + counts[4]++; + } + } + + avg = tot / (float)NUM_SCORES; + + for (int i = 0; i < NUM_SCORES; i++) + { + cout << "The " << i + 1 << " student recived a " << scores[i] << "% and got a(n) " << grades[i] << ".\n"; + } + + cout << "The average score is: " << avg << "%.\n"; + + char letter; + for (int i = 0; i < NUM_GRADES; i++) + { + + if (i != 4) + { + letter = 65 + i; + } + else + { + letter = 70; + } + + cout << "There were " << counts[i] << letter << "'s.\n"; + } + +} \ No newline at end of file diff --git a/9a/10.5/10.5.sln b/9a/10.5/10.5.sln new file mode 100644 index 0000000..1cf1787 --- /dev/null +++ b/9a/10.5/10.5.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.31729.503 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "10.5", "10.5.vcxproj", "{7E8B1C67-DFAB-4918-9C82-0E34CF6FA2ED}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7E8B1C67-DFAB-4918-9C82-0E34CF6FA2ED}.Debug|x64.ActiveCfg = Debug|x64 + {7E8B1C67-DFAB-4918-9C82-0E34CF6FA2ED}.Debug|x64.Build.0 = Debug|x64 + {7E8B1C67-DFAB-4918-9C82-0E34CF6FA2ED}.Debug|x86.ActiveCfg = Debug|Win32 + {7E8B1C67-DFAB-4918-9C82-0E34CF6FA2ED}.Debug|x86.Build.0 = Debug|Win32 + {7E8B1C67-DFAB-4918-9C82-0E34CF6FA2ED}.Release|x64.ActiveCfg = Release|x64 + {7E8B1C67-DFAB-4918-9C82-0E34CF6FA2ED}.Release|x64.Build.0 = Release|x64 + {7E8B1C67-DFAB-4918-9C82-0E34CF6FA2ED}.Release|x86.ActiveCfg = Release|Win32 + {7E8B1C67-DFAB-4918-9C82-0E34CF6FA2ED}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {B977F78A-0B4B-47D3-9F8B-33034C132CF9} + EndGlobalSection +EndGlobal diff --git a/9a/10.5/10.5.vcxproj b/9a/10.5/10.5.vcxproj new file mode 100644 index 0000000..bfb6b95 --- /dev/null +++ b/9a/10.5/10.5.vcxproj @@ -0,0 +1,147 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 16.0 + Win32Proj + {7e8b1c67-dfab-4918-9c82-0e34cf6fa2ed} + My105 + 10.0 + + + + Application + true + v142 + Unicode + + + Application + false + v142 + true + Unicode + + + Application + true + v142 + Unicode + + + Application + false + v142 + true + Unicode + + + + + + + + + + + + + + + + + + + + + true + + + false + + + true + + + false + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + \ No newline at end of file diff --git a/9a/10.5/10.5.vcxproj.filters b/9a/10.5/10.5.vcxproj.filters new file mode 100644 index 0000000..a9fedbf --- /dev/null +++ b/9a/10.5/10.5.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Source Files + + + \ No newline at end of file diff --git a/9a/10.5/Output.txt b/9a/10.5/Output.txt new file mode 100644 index 0000000..3594774 --- /dev/null +++ b/9a/10.5/Output.txt @@ -0,0 +1,31 @@ +Run: + +Enter score #1 of 10: 99 +Enter score #2 of 10: 45 +Enter score #3 of 10: 69 +Enter score #4 of 10: 87 +Enter score #5 of 10: 76 +Enter score #6 of 10: 52 +Enter score #7 of 10: 10 +Enter score #8 of 10: 80 +Enter score #9 of 10: 34 +Enter score #10 of 10: 26 +The 1 student recived a 99% and got a(n) A. +The 2 student recived a 45% and got a(n) F. +The 3 student recived a 69% and got a(n) D. +The 4 student recived a 87% and got a(n) B. +The 5 student recived a 76% and got a(n) C. +The 6 student recived a 52% and got a(n) F. +The 7 student recived a 10% and got a(n) F. +The 8 student recived a 80% and got a(n) B. +The 9 student recived a 34% and got a(n) F. +The 10 student recived a 26% and got a(n) F. +The average score is: 57.8%. +There were 1A's. +There were 2B's. +There were 1C's. +There were 1D's. +There were 5F's. + +C:\Users\jakno\source\repos\CST116\10.5\Debug\10.5.exe (process 21412) exited with code 0. +Press any key to close this window . . . diff --git a/9b/10.6/10.6.cpp b/9b/10.6/10.6.cpp new file mode 100644 index 0000000..5a09b87 --- /dev/null +++ b/9b/10.6/10.6.cpp @@ -0,0 +1,108 @@ +// 10.6.cpp : This file contains the 'main' function. Program execution begins and ends there. +// Written by Jacob Knox +// + +#include + +using namespace std; + +void GetInputs(float[], int); +void GetCounts(float[], char[], int[], int); +int CalcAvg(float[], int); +void Output(float[], char[], int[], int, int, int); + +int main() +{ + const int NUM_SCORES = 10, NUM_GRADES = 5; + float scores[NUM_SCORES] = {}; + char grades[NUM_SCORES] = {}; + int counts[NUM_GRADES] = { 0, 0, 0, 0, 0 }; + float avg = 0; + + GetInputs(scores, NUM_SCORES); + GetCounts(scores, grades, counts, NUM_SCORES); + avg = CalcAvg(scores, NUM_SCORES); + Output(scores, grades, counts, avg, NUM_SCORES, NUM_GRADES); + +} + +void GetInputs(float scores[], int size) +{ + for (int i = 0; i < size; i++) + { + cout << "Enter score #" << i + 1 << " of " << size << ": "; + cin >> scores[i]; + } +} + +void GetCounts(float scores[], char grades[], int counts[], int sizeS) +{ + for (int i = 0; i < sizeS; i++) + { + if (scores[i] >= 90) + { + grades[i] = 'A'; + counts[0]++; + } + else if (scores[i] >= 80) + { + grades[i] = 'B'; + counts[1]++; + } + else if (scores[i] >= 70) + { + grades[i] = 'C'; + counts[2]++; + } + else if (scores[i] >= 60) + { + grades[i] = 'D'; + counts[3]++; + } + else + { + grades[i] = 'F'; + counts[4]++; + } + } +} + +int CalcAvg(float scores[], int size) +{ + float avg = 0, tot = 0; + + for (int i = 0; i < size; i++) + { + tot += scores[i]; + } + + avg = tot / size; + + return avg; +} + +void Output(float scores[], char grades[], int counts[], int avg, int sizeS, int sizeC) +{ + for (int i = 0; i < sizeS; i++) + { + cout << "The " << i + 1 << " student recived a " << scores[i] << "% and got a(n) " << grades[i] << ".\n"; + } + + cout << "The average score is: " << avg << "%.\n"; + + char letter; + for (int i = 0; i < sizeC; i++) + { + + if (i != 4) + { + letter = 65 + i; + } + else + { + letter = 70; + } + + cout << "There were " << counts[i] << letter << "'s.\n"; + } +} diff --git a/9b/10.6/10.6.sln b/9b/10.6/10.6.sln new file mode 100644 index 0000000..ad935e0 --- /dev/null +++ b/9b/10.6/10.6.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.31729.503 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "10.6", "10.6.vcxproj", "{9611E573-71BB-4EE7-B3FE-8F1A55A67E84}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9611E573-71BB-4EE7-B3FE-8F1A55A67E84}.Debug|x64.ActiveCfg = Debug|x64 + {9611E573-71BB-4EE7-B3FE-8F1A55A67E84}.Debug|x64.Build.0 = Debug|x64 + {9611E573-71BB-4EE7-B3FE-8F1A55A67E84}.Debug|x86.ActiveCfg = Debug|Win32 + {9611E573-71BB-4EE7-B3FE-8F1A55A67E84}.Debug|x86.Build.0 = Debug|Win32 + {9611E573-71BB-4EE7-B3FE-8F1A55A67E84}.Release|x64.ActiveCfg = Release|x64 + {9611E573-71BB-4EE7-B3FE-8F1A55A67E84}.Release|x64.Build.0 = Release|x64 + {9611E573-71BB-4EE7-B3FE-8F1A55A67E84}.Release|x86.ActiveCfg = Release|Win32 + {9611E573-71BB-4EE7-B3FE-8F1A55A67E84}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {E27DBB42-4289-405A-8C1E-AD36554642D7} + EndGlobalSection +EndGlobal diff --git a/9b/10.6/10.6.vcxproj b/9b/10.6/10.6.vcxproj new file mode 100644 index 0000000..3be33a4 --- /dev/null +++ b/9b/10.6/10.6.vcxproj @@ -0,0 +1,147 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 16.0 + Win32Proj + {9611e573-71bb-4ee7-b3fe-8f1a55a67e84} + My106 + 10.0 + + + + Application + true + v142 + Unicode + + + Application + false + v142 + true + Unicode + + + Application + true + v142 + Unicode + + + Application + false + v142 + true + Unicode + + + + + + + + + + + + + + + + + + + + + true + + + false + + + true + + + false + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + \ No newline at end of file diff --git a/9b/10.6/10.6.vcxproj.filters b/9b/10.6/10.6.vcxproj.filters new file mode 100644 index 0000000..7615e82 --- /dev/null +++ b/9b/10.6/10.6.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Source Files + + + \ No newline at end of file diff --git a/9b/Output.txt b/9b/Output.txt new file mode 100644 index 0000000..16c7cfb --- /dev/null +++ b/9b/Output.txt @@ -0,0 +1,31 @@ +Output: + +Enter score #1 of 10: 99 +Enter score #2 of 10: 45 +Enter score #3 of 10: 69 +Enter score #4 of 10: 87 +Enter score #5 of 10: 76 +Enter score #6 of 10: 52 +Enter score #7 of 10: 10 +Enter score #8 of 10: 80 +Enter score #9 of 10: 34 +Enter score #10 of 10: 26 +The 1 student recived a 99% and got a(n) A. +The 2 student recived a 45% and got a(n) F. +The 3 student recived a 69% and got a(n) D. +The 4 student recived a 87% and got a(n) B. +The 5 student recived a 76% and got a(n) C. +The 6 student recived a 52% and got a(n) F. +The 7 student recived a 10% and got a(n) F. +The 8 student recived a 80% and got a(n) B. +The 9 student recived a 34% and got a(n) F. +The 10 student recived a 26% and got a(n) F. +The average score is: 57%. +There were 1A's. +There were 2B's. +There were 1C's. +There were 1D's. +There were 5F's. + +C:\Users\jakno\source\repos\CST116\cst116-lab5-JacobAKnox\9b\10.6\Debug\10.6.exe (process 20328) exited with code 0. +Press any key to close this window . . . -- cgit v1.2.3