True or false | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
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 Respuesta
+ 1
cout << boolalpha << func(a1, a2);
22nd Mar 2022, 6:44 PM
Jayakrishna 🇮🇳