you would be correct for Q6 but the strings in those brackets are not the strings we use for the problem every time. they are just what is printed to the console to ask for user input, not the actual strings that need to be evaluated. In Q7 it asks for integers so you can't answer that question with those stringswhen the program is run for Question 6 with just some example strings:Console:--------------------Give me a string: "hello"Give me another string: "12345"Give me a third string: "goodb"YesQuestion 7 with some example integers:-------------------Give me a number: 9Give me another number: 8Give me another number: 8No
The answer of question 6 is No, question 7 is No