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;
}