diff options
| author | BensProgramma <[email protected]> | 2021-11-26 12:56:16 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-11-26 12:56:16 -0800 |
| commit | 0df11cfbd5e8760e4548eafa1d75995821ad053e (patch) | |
| tree | dca674af7b01b5d71e13952ad2f94ae9a8c13f98 | |
| parent | Delete Project3.h (diff) | |
| download | project_3_hernandez_schroeder-0df11cfbd5e8760e4548eafa1d75995821ad053e.tar.xz project_3_hernandez_schroeder-0df11cfbd5e8760e4548eafa1d75995821ad053e.zip | |
Create Project_3_Hernandez_Schroeder
PsuedoCode and Documentation
| -rw-r--r-- | Project3_Hernandez_Schroeder/Project_3_Hernandez_Schroeder | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/Project3_Hernandez_Schroeder/Project_3_Hernandez_Schroeder b/Project3_Hernandez_Schroeder/Project_3_Hernandez_Schroeder new file mode 100644 index 0000000..479ab87 --- /dev/null +++ b/Project3_Hernandez_Schroeder/Project_3_Hernandez_Schroeder @@ -0,0 +1,93 @@ +// Project3_Hernandez_Schroeder.cpp : This file contains the 'main' function. Program execution begins and ends there. +// +// Written by Ben Schroeder and Freddy Hernandez +// email:[email protected] +// email:[email protected] +// date: 11/23/2021 and periodically updated up to 12//2021 +// +// /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// +// Meetings: +// 11/23/2021 Via email: Just discussed a potential gameplan for the project. Decided we would individually look over the problem in +// the next few days and check back with each other in the next few days as well. +// +// +// +// Code Updates: +// 11/24/2021 Wrote several functions for the program. +// +// +// +// +// AGILE QUESTIONS for Benjamin Schroeder +// (ie 1)What specific task? 2)What do I know about the specific task? 3)What do I not know about the specific task? ) +// 11/24/2021 +// 1) I will begin to draw up psuedocode for the functions in the project, +// 2) I know how to do most of the operations involved in the project, however, +// 3) I do not know how exactly to build the addition and multiplication tables. +// 11/26/2021 +// +// +// +// AGILE QUESTIONS for Freddy Hernandez +// (ie 1)What specific task? 2)What do I know about the specific task? 3)What do I not know about the specific task? ) +// +// +// +// +// +//Testing Plan: +// Enter several types of inputs into the matrices... compare the outputs to a scientific calculator for accuracy +// Run +// +// +// +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//PSUEDOCODE: +// +// From main(), Display a banner with a brief description of the program... +// Ask for the initial two matrices to be either multiplied or added together +// then call getMatrices(); +// +/////////////////////////////////// +// void DisplayMenu() +// Show menu options +// int menuChoice = somenumber +// ask for an option between 1 and 4 +// record "menuChoice" entered +// while ...the option number entered is out of that range +// ask for a selection 1-4 +// switch case 1-4 +// case 1: call getMatrices +// case 2: call multiplyMatrices(A,B,C); +// case 3: call addMatrices(A,B,C); +// case 4: exit the program +// +// +//////////////////////////////////////// +// void getMatrices() +// ask for individual elements of the first matrix (by row) +// ask for individual elements of the second matrix +// +// print out both matrices on the screen for the user to see +// +// then call DisplayMenu(); +// +/////////////////////////////////////////// +// void multiplyMatrices(A,B,C) +// do the calculation for matrix multiplication (row by row) +// +// display the 3 matrices A, B, and C (the multiplication result) +// +// then call DisplayMenu(); +// +///////////////////////////////////////////// +// void addMatrices(A,B,C) +// do the calculation for matrix addition (element by element) +// display the 3 matrices A, B, and C (the addition result) +// +// Then Call DisplayMenu(); to start the program back through +// +// +/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + |