+ 1
I got the ans. But if i write 'area of rectangle' the output doesn't come..
https://code.sololearn.com/cyaQ6L3Cgan4/?ref=app Plz help me
6 Respostas
+ 3
Then it might be a good idea to remove the << endl in line 11 which is a line break
+ 6
cout << "Area of triangle: " << area << endl;
+ 4
I'm not sure what you're talking about, but try to use double quotes for strings and single quotes for characters
+ 1
https://code.sololearn.com/cyaQ6L3Cgan4/?ref=app
Is it ok??Output is - Area of Rectangle
6
i want the output in a single line
+ 1
can u show me plz?
+ 1
tnks Ahmad..got the ans!!