Compare commits
No commits in common. "32c530ced1938205fdc14b22d899b98a080c0772" and "f4330e53e00932bd923fd5543c32b486a938bbdc" have entirely different histories.
32c530ced1
...
f4330e53e0
3 changed files with 0 additions and 40 deletions
|
@ -1,15 +0,0 @@
|
||||||
|
|
||||||
#include <iostream>
|
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
int main() {
|
|
||||||
|
|
||||||
int fahrenheit;
|
|
||||||
cout << "Enter fahrenheit value: ";
|
|
||||||
cin >> fahrenheit;
|
|
||||||
double celsius = (fahrenheit - 32) / 1.8;
|
|
||||||
cout << "Celsius: " << celsius;
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
|
@ -1,15 +0,0 @@
|
||||||
#include <cmath>
|
|
||||||
#include <iostream>
|
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
int main() {
|
|
||||||
|
|
||||||
int radius;
|
|
||||||
cout << "Enter radius of circle: ";
|
|
||||||
cin >> radius;
|
|
||||||
|
|
||||||
// I'm awesome, the teacher didn't know about the PI constant in cmath
|
|
||||||
cout << "Result: " << M_PI * pow(radius, 2);
|
|
||||||
return 0;
|
|
||||||
}
|
|
10
src/main.cc
10
src/main.cc
|
@ -1,10 +0,0 @@
|
||||||
#include <iostream>
|
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
int main() {
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
Reference in a new issue