#include<iostream>
using namespase std;
int main()
{
int i=1;
int j=-5;
int k=80;
float f=2.22;
float h=-7.5;
char a='S';
char b='M';
cout<<i<<"\t"<<j<<"\t"<<k<<endl;
Cout<<f<<"\t"<<h<<endl;
cout<<a<<"\t"<<b<<endl;
return 0;
}
#include<iostream>
using namespace std;
int main()
{
int i=1;
int j=-5;
int k=80;
float f=2.22;
float h=-7.5;
char a='S';
char b='M';
cout<<i<<"\t"<<j<<"\t"<<k<<endl;
cout<<f<<"\t"<<h<<endl;
cout<<a<<"\t"<<b<<endl;
return 0;
}
The code in question is wrong use namespace instead of namespase and your second Cout is wrong which should be cout. you can follow the code.
Get Answers For Free
Most questions answered within 1 hours.