+ 1

I have a question oth this code here

im writeing this code and it dosent work. i copied an example code and trying to add on to it so i can put in a key and a word and get a responce the key is 69 and i want the word to be the100supreme and responce needs to be dab. i sound like a normie but its a practical code for my uses plz help https://code.sololearn.com/c8RzlBogVdl6/?ref=app

13th Jan 2018, 4:15 PM
Lord Awesome
Lord Awesome - avatar
2 Answers
+ 2
Well, start by correcting the signs in some of cin (should be >>) and cout (<<) (line 20 and 42), there's an i letter in line 39 and ; at 42, remove them, return 0 should be before last }. There is no need for string the100supreme and string deeznuts() function, in line 19 if(g == "the100supreme") and line 42 cin >> string g I think it should be ok, but I haven't checked
13th Jan 2018, 5:20 PM
rafal
0
thanks i probs wouldnt have ever found that
14th Jan 2018, 2:00 AM
Lord Awesome
Lord Awesome - avatar