summaryrefslogtreecommitdiff
path: root/BlankConsoleLab/BlankConsoleLab.cpp
blob: f3e4834d935fc65737d50e3b9b55a1379777b0f4 (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
// BlankConsoleLab.cpp : This file contains the 'main' function. Program execution begins and ends there.
//

#include <iostream>
#include <stdio.h>      /* printf */
#include <math.h>       /* pow */
#include <cmath>        /* pow */


using namespace std;


using std::cout;
using std::cin;
using std::endl;


const float FMAX = 121; 
const float FMIN = -80;
const float CMAX = 49.5;
const float CMIN = -62; //Set values for minimum and maximum temperatures.





int CtoF(int Celsius) {
    return Celsius;
}


int main()
{
    int Celsius = 0;


    cout << "Please enter a temperature between -62 and 49.5 degrees Celsius: \n";
    cin >> Celsius;
    cout << CtoF(12) << endl;

    cout << "Hello World!\n";
}