Way my code is run compiler error??? i think i don't have any false | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Way my code is run compiler error??? i think i don't have any false

https://code.sololearn.com/cgZ2x9B9Cqds/?ref=app

22nd Aug 2017, 1:23 PM
ismail Banouigu
ismail Banouigu - avatar
4 Answers
+ 9
Error: 1. using wrong operator with cout and cin 2. performing operations before inputting value. Warning: put brackets in between variables while substraction, division and remainder . Solutions are: 1. use << with cout &>> with cin 2. either use them later after inputting value or just declare them after inputting value for implementation see this: https://code.sololearn.com/cs6rqfCA7q4E/?ref=app
22nd Aug 2017, 1:37 PM
P R
P R - avatar
+ 3
ok thank's my friends @Empty & @P_R
22nd Aug 2017, 11:04 PM
ismail Banouigu
ismail Banouigu - avatar
+ 3
you have an error in cout>> correct one is cout << cin << correct one is cin>> https://code.sololearn.com/cuSxQQmEzcvU/?ref=app
24th Aug 2017, 2:20 PM
Said BAHAOUARY
Said BAHAOUARY - avatar
+ 2
Thank's my brother @Said
24th Aug 2017, 4:31 PM
ismail Banouigu
ismail Banouigu - avatar