Skip to content

Commit 0a90b4e

Browse files
authored
Add files via upload
1 parent ac402cc commit 0a90b4e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

05-09-21/Fahrenheit2Celsius.cpp

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#include<iostream>
2+
using namespace std;
3+
4+
5+
int main(){
6+
int S,E,W,i,CT;
7+
cin>>S>>E>>W;
8+
9+
for (i=S; i<=E; i+=W){
10+
CT=(i-32)/1.8;
11+
cout<<i<<"\t"<<CT<<endl;
12+
13+
}
14+
15+
return 0;
16+
17+
}

0 commit comments

Comments
 (0)