blob: 1496419fd5e1979bb211193ba0f3b6b3f9850a63 (
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
31
|
// CST 116, Lab 1 - Alexandra Apetroaei
#include <iostream>
using namespace std;
using std::cout;
using std::cin;
using std::endl;
int main()
{
float width;
float height;
float area;
float aspect_ratio;
float isStable = false;
while (isStable == false)
{
cout << "Insert width (in centimeters): " /endl ;
cin >> height;
cout << "Insert height (in centimeters): " /endl ;
cin >> width;
}
}
|