It's saying error 'cin' does not name a type cin >> input.... What to do | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

It's saying error 'cin' does not name a type cin >> input.... What to do

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

22nd Jul 2017, 9:37 AM
Manjunath G
Manjunath G - avatar
15 Answers
+ 6
Well done! i will delete my copy now 😊
22nd Jul 2017, 10:06 AM
jay
jay - avatar
+ 6
I did.. went to post it, but you had deleted the question.. I will do so again...
22nd Jul 2017, 9:41 AM
jay
jay - avatar
22nd Jul 2017, 9:45 AM
jay
jay - avatar
+ 5
welllll if you didnt delete your question so fast... #include <cstdio> is the c++ header you want for printf . <stdio.h> is the c header using namespace std; is what you want to include to use cin, otherwise you would have to type std::cin
22nd Jul 2017, 9:38 AM
jay
jay - avatar
+ 5
u can copy mine and delete the comments
22nd Jul 2017, 9:50 AM
jay
jay - avatar
+ 1
OK thanks a lot
22nd Jul 2017, 9:46 AM
Manjunath G
Manjunath G - avatar
+ 1
OK thanks a lot bro
22nd Jul 2017, 9:51 AM
Manjunath G
Manjunath G - avatar
22nd Jul 2017, 9:58 AM
Manjunath G
Manjunath G - avatar
0
correct my code plz
22nd Jul 2017, 9:38 AM
Manjunath G
Manjunath G - avatar
0
answer me plz
22nd Jul 2017, 9:40 AM
Manjunath G
Manjunath G - avatar
0
Jay
22nd Jul 2017, 9:40 AM
Manjunath G
Manjunath G - avatar
0
ok
22nd Jul 2017, 9:42 AM
Manjunath G
Manjunath G - avatar
0
plz do it
22nd Jul 2017, 9:42 AM
Manjunath G
Manjunath G - avatar
0
I am confused... send me a code without comments
22nd Jul 2017, 9:49 AM
Manjunath G
Manjunath G - avatar
0
I did my first c program
22nd Jul 2017, 9:58 AM
Manjunath G
Manjunath G - avatar