Converts Celsius to Fahrenheit or vice versa. Simple really
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
341 B

2 years ago
#include <iostream>
using namespace std;
int main() {
double input;
char Q;
cout << "Simple temperature converter" << "\n";
cout << "Select conversion type (C F or Q for quit): ";
cin >> input;
if (input == Q) {
cout << "Quitting..." << endl;
}
return(0);
}
//
// Created by fuze on 8/13/22.
//