Making a temperature converter in C++ in a college class

Subscribers:
1,860
Published on ● Video Link: https://www.youtube.com/watch?v=QzLX61c7rLY



Duration: 14:48
9 views
2


My camera was covering up part of the code. Sorry!
Here's that code:
Note: 2 left arrows and 2 right arrows mean to enter their respective code
Temperature Converter.cpp : This file contains the 'main' function. Program execution begins and ends there.

N
//Tempature Converter.cpp : This file contains the 'main' function. Program execution begins and ends there.
//

#include (left arrow)iostream(right arrow)
using namespace std;
int main()
{
char input_unit;
double input_temp = 0, result = 0;
bool flag = true; // flag = 1
cout (2 left arrows) "Please enter the input temp (C or F): ";
cin (2 right arrows) input_unit;