+ 1
whats Error in this program
#include <iostream> using namespace std; int main() { int a, b, sub, div; cin>>a>>b; sub=a-b; cout<<sub<<\t; div=a/b; cout<<div; } https://www.sololearn.com/discuss/1316935/?ref=app
6 Respostas
+ 2
You need to use simple quotes, not those fancy ones. These: " "
+ 1
You have to put \t inside double quotes: "\t"
+ 1
how to use \t please correct this program
+ 1
i just told you how to
+ 1
whats Error in this program
#include <iostream>
using namespace std;
int main() {
int a, b, sub, div;
cin>>a>>b;
sub=a-b;
cout<<sub<<“\t”;
div=a/b;
cout<<div;
}
like this
0
thanks