blob: b8ebf9df7a83c11e6750d2dba90ed816073145f6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
* Andrei Florea - CST 116 - Lab 1 (Part 1 and Part 2) - Learning input, output, if statements, loops, simple
* calculations
*
* The purpose of this program is to take input regarding kite specifications and output
* if the kite is efficient at flying or if it is able to fly.
*
*/
#include <iostream>
using namespace std;
using std::cout;
using std::cin;
using std::endl;
int main()
{
float width, length;
cout << "Please enter the WIDTH of your kite in centimeters (decimals are OK): ";
cin >> width;
cout << "Please enter the LENGTH of your kite in centimeters (decimals are OK): ";
cin >> length;
}
|