#include
using namespace std;
float convert(int n){
int ans=0.55*(n-32);
return ans;
}
int main() {
int min,max,step;
cin>>min>>max>>step;
for(int i=min;i<=max;i+=step){
cout<<i<<"\t"<<convert(i)<<endl;
}
return 0;
}
#include
using namespace std;
float convert(int n){
int ans=0.55*(n-32);
return ans;
}
int main() {
int min,max,step;
cin>>min>>max>>step;
for(int i=min;i<=max;i+=step){
cout<<i<<"\t"<<convert(i)<<endl;
}
return 0;
}
hi @anshul3558_e8c9aa486c392ca3,
write this int ans= (n-32) * 5/9;
and give a space not tab (maybe wrong in question)