summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BlankConsoleLab/BlankConsoleLab.cpp2
-rw-r--r--BlankConsoleLab/Program Output.txt30
2 files changed, 32 insertions, 0 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp
index d08fb77..4ceba9e 100644
--- a/BlankConsoleLab/BlankConsoleLab.cpp
+++ b/BlankConsoleLab/BlankConsoleLab.cpp
@@ -35,6 +35,8 @@ int main()
cout << "Width = " << width << " cm" << endl;
+ cout << " " << endl;
+
} while ((length < 1 || length > 400) || (width < 1 || width > 400));
diff --git a/BlankConsoleLab/Program Output.txt b/BlankConsoleLab/Program Output.txt
new file mode 100644
index 0000000..fc9d5e4
--- /dev/null
+++ b/BlankConsoleLab/Program Output.txt
@@ -0,0 +1,30 @@
+-Run 1 (aspect ratio > 1)
+
+Enter length of kite in cm: 150
+Enter width of kite in cm: 300
+Length = 150 cm
+Width = 300 cm
+
+Kite area = 2.25 square meters
+WARNING! A lower aspect ratio would provide more stability
+Total mass of the kite is: 0.30375 Kg
+Gravitational pull applied to the kite is: 2.73375 Newtons
+
+
+
+
+-Run 2 (Bad data then corrected)
+
+Enter length of kite in cm: 500
+Enter width of kite in cm: 100
+Length = 500 cm
+Width = 100 cm
+
+Enter length of kite in cm: 300
+Enter width of kite in cm: 100
+Length = 300 cm
+Width = 100 cm
+
+Kite area = 1.5 square meters
+Total mass of the kite is: 0.2025 Kg
+Gravitational pull applied to the kite is: 1.8225 Newtons \ No newline at end of file