aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRossTheRoss <msattr@gmail.com>2019-03-28 13:46:17 -0500
committerRossTheRoss <msattr@gmail.com>2019-03-28 13:46:17 -0500
commit87a82d571d70b7b7d11df9f4a2f42f011621c417 (patch)
tree9f8f1150f6aacf1f81a8b95ee4f44370d9497dd0
parentRearrange (diff)
downloadhomework-87a82d571d70b7b7d11df9f4a2f42f011621c417.tar
homework-87a82d571d70b7b7d11df9f4a2f42f011621c417.tar.gz
homework-87a82d571d70b7b7d11df9f4a2f42f011621c417.tar.bz2
homework-87a82d571d70b7b7d11df9f4a2f42f011621c417.tar.lz
homework-87a82d571d70b7b7d11df9f4a2f42f011621c417.tar.xz
homework-87a82d571d70b7b7d11df9f4a2f42f011621c417.tar.zst
homework-87a82d571d70b7b7d11df9f4a2f42f011621c417.zip
Change things
Diffstat (limited to '')
-rw-r--r--ee1301/wk5/lab4/partner2.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ee1301/wk5/lab4/partner2.cpp b/ee1301/wk5/lab4/partner2.cpp
index ef0958c..973a44b 100644
--- a/ee1301/wk5/lab4/partner2.cpp
+++ b/ee1301/wk5/lab4/partner2.cpp
@@ -5,7 +5,7 @@ using namespace std;
string requestName();
double requestHeight(string fullName);
int requestNumberOfPartners();
-void NotinMain(string array1[], const int length1, double array2[], const int length2);
+void NotinMain(string fullName[], const int length1, double height[], const int length2);
int main()
{
@@ -46,8 +46,8 @@ int requestNumberOfPartners()
return numberOfPartners;
}
-void NotinMain(string array1[], const int length1, double array2[], const int length2) {
- cout << "If " << array1[0] << " and " << array1[1]
+void NotinMain(string fullName[], const int length1, double height[], const int length2) {
+ cout << "If " << fullName[0] << " and " << fullName[1]
<< " form a human tower, their combined height will be "
- << (array2[0] + array2[1]) << endl;
+ << (height[0] + height[1]) << endl;
} \ No newline at end of file