+ 1

C# practice 4.2

So the task is to write c# is cool, in the code, I’ve tried all kinds of ways, but which is the right way, like what does it want? Thank you for the help :)

22nd Jul 2021, 9:27 AM
Sbo
Sbo - avatar
7 Answers
+ 6
Sbo , there are several possibilities to do it the right way. to get help from the community, we need to see your attempt first. so please put your code in playground and link it here. thanks!
22nd Jul 2021, 9:48 AM
Lothar
Lothar - avatar
+ 1
There is a hint in the description Hint Both Console.Write() or Console.WriteLine() methods can be used. Followed by this hint Remember to enclose the text into double quotes and end the statement with a semicolon (;).
22nd Jul 2021, 11:07 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
Rik Wittkopp when i do this, it tells me i have no input.
22nd Jul 2021, 11:28 AM
Sbo
Sbo - avatar
+ 1
Lothar how do i do that? All i’m getting at is to click "solve problem" and it takes me to where i type the code, then result
22nd Jul 2021, 11:29 AM
Sbo
Sbo - avatar
+ 1
Copy your code attempt from the playground and post it here for us to review
22nd Jul 2021, 11:32 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
Sbo That is the code that is given to you as a template. You need to write your code under the section that says //output C# is cool. You have 2 big hints already given and you can review the previous lesson 4.1 to understand fully
22nd Jul 2021, 10:48 PM
Rik Wittkopp
Rik Wittkopp - avatar
0
using System; namespace MyApp { class Program { static void Main(string[] args) { //output "C# is cool" } } }
22nd Jul 2021, 11:46 AM
Sbo
Sbo - avatar