+ 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

24th Sep 2018, 11:56 AM
Rayeed_leo
Rayeed_leo - avatar
6 Respostas
+ 3
Then it might be a good idea to remove the << endl in line 11 which is a line break
24th Sep 2018, 2:54 PM
Anna
Anna - avatar
+ 6
cout << "Area of triangle: " << area << endl;
24th Sep 2018, 2:54 PM
blACk sh4d0w
blACk sh4d0w - avatar
+ 4
I'm not sure what you're talking about, but try to use double quotes for strings and single quotes for characters
24th Sep 2018, 12:03 PM
Anna
Anna - avatar
+ 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
24th Sep 2018, 2:52 PM
Rayeed_leo
Rayeed_leo - avatar
+ 1
can u show me plz?
24th Sep 2018, 2:55 PM
Rayeed_leo
Rayeed_leo - avatar
+ 1
tnks Ahmad..got the ans!!
24th Sep 2018, 2:59 PM
Rayeed_leo
Rayeed_leo - avatar