aboutsummaryrefslogtreecommitdiff
path: root/Lab2Ansari/Lab2Ansari.cpp
blob: ae9f700e544dd569b73540cd534cf8858456a645 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// Lab2Ansari.cpp : This file contains the 'main' function. Program execution begins and ends there.
//

#include <iostream>
#include <iomanip>
using namespace std;
using std::ios;


int main() {



        
    }

/*
* 112-115 5.9 #5
float money = 123.45;
        float raise;

        cout << "You have $";
        cout << money << endl;

        cout << "enter percent raise: ";
        cin >> raise;

        money = money * raise;
        cout << "After your raise you have $";
        cout << money << endl;

*/

/*
* Page 100 #1
float personTemp;
    cout << "Enter your temperature: " << endl;
    cin >> personTemp;
    cout.setf(ios::fixed);
    cout << setw(6) << setprecision(1) << personTemp << endl;
*/

/*
int age = 18;

    int daysInYears = 365;

    cout << age * daysInYears;


*/

//char ascii = 67;
//cout << ascii << '\n';
//ascii = 43;
//cout << ascii << '\n';
//cout << ascii << '\n';
//return 0;