0
C# coding quiz question = Stuck
hello, So I am currently stuck on a C# quiz question I need to fill in the blanks to produce the following output: She said "Yes!" This is the current code I am given with blank being where i need to insert code: Console.WriteLine("She said blank Yes\ blank !"); my answer would be to fill in the blanks: Console.WriteLine("She said \"Yes\""!"); but that produces "She said "Yes"! how am i supposed to have the explination mark at the end of yes when the example has yes ending with \ and the ! after? I'm confused The answer should be Console.WriteLine("She said \"Yes!\""); am I right? but that input is not possible on the quiz
3 Answers
+ 2
Yes, your awnser is right. Try with a C# compiler if you are stuck to see the output. Anyways, can you send the question? It would be easier to solve.
0
Your answer is right and it allows to put it like that !
The answer to be input is like this
Console.WriteLine ( "She said \" Yes!\ " ");
In first blank put \" and on second blank put "
I have filled this, and it shows correct!
It should help!
0
console.WriteLine("She said \*- *);