I'm new here, could you guys help me on this problem
I have a code like this
I want hours and charge on the same line.Code:scanf("%g\t",&hours); charge=Charges(hours); printf("%g\n",charge);
But when I run this, it always runs \n after I put the value of hours in.
Could anyone help me to make it on the same line?