summaryrefslogtreecommitdiff
path: root/BlankConsoleLab/BlankConsoleLab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'BlankConsoleLab/BlankConsoleLab.cpp')
-rw-r--r--BlankConsoleLab/BlankConsoleLab.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp
index e8982cf..4e375ca 100644
--- a/BlankConsoleLab/BlankConsoleLab.cpp
+++ b/BlankConsoleLab/BlankConsoleLab.cpp
@@ -1,4 +1,7 @@
-// BlankConsoleLab.cpp : This file contains the 'main' function. Program execution begins and ends there.
+//
+// Lab1
+// Trevor Bouchillon
+// CST116
//
#include <iostream>
@@ -13,6 +16,9 @@ int main()
{
float kitewidth;
float kitelength;
+ float kiteaream;
+ float kiteareacm
+
cout << "Please enter width of kite (horizontal diagonal) in meters." << endl;
cin >> kitewidth;
@@ -20,6 +26,7 @@ int main()
cin >> kitelength;
cout << kitelength << " " << kitewidth << endl;
-
+ kiteaream = (kitewidth * kitelength) / 2;
+ kiteareacm = kiteaream / 10000;
}