True or false | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

True or false

Hello, I need a help.Because I don't know how to print boolean value. If any string in first string vector is not substring of second string print 0 otherwise 1. https://code.sololearn.com/c1Al7nweIaOn/?ref=app

22nd Mar 2022, 6:04 PM
TeaserCode
1 Answer
+ 1
cout << boolalpha << func(a1, a2);
22nd Mar 2022, 6:44 PM
Jayakrishna 🇮🇳