I faced the same new line issue

faced the same new line issue but not resolved. stays same in ubuntu terminal.
kindly check my code is there something error
//---------------------------------------////
#include
using namespace std;
int main()
{
int f =0;
int c;
while(f<=300)
{
c=(5*(f-32))/9;
cout<<f<<"\n "<<c <<endl;
f=f+20;

}
return 0;

}

@Paras3126 hey let me check your code.

@Paras3126 hey you have not taken the input for f and c ,also use endl to make ans in separate line.If you still have any doubt ,feel free to ask.

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.