Hello Sir!
Can you pls tell me what’s the problem with the code?
Thanks
Hello Sir!
Can you pls tell me what’s the problem with the code?
Thanks
Is this your code, that you are asking for?
#include<iostream>
using namespace std;
int main() {
int ll; cin >> ll;
int ul; cin >> ul;
int step; cin >> step;
int c = 0;
for(int i = ll; i <= ul; i += step )
{
c = (int) ((5.0/9)*(i â 32));
cout << i << " " << c << endl;
}
return 0;
}
Yes. This is the code.
check now ->
Got it. Thanks a lot.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.