+ 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 :)
7 Respostas
+ 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!
+ 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 (;).
+ 1
Rik Wittkopp when i do this, it tells me i have no input.
+ 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
+ 1
Copy your code attempt from the playground and post it here for us to review
+ 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
0
using System;
namespace MyApp
{
class Program
{
static void Main(string[] args)
{
//output "C# is cool"
}
}
}