Practice 4.2 C# | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

Practice 4.2 C#

1st Mar 2021, 4:45 AM
Paris Andrade
Paris Andrade - avatar
8 Answers
+ 3
review your lesson(s): that's the very basics of every languages ;)
1st Mar 2021, 5:07 AM
visph
visph - avatar
0
and so? what's your question? where's your attempt?
1st Mar 2021, 4:46 AM
visph
visph - avatar
0
and what is the descrption of your assignement?
1st Mar 2021, 5:33 AM
visph
visph - avatar
0
you doesn't put the final dot ^^
1st Mar 2021, 5:36 AM
visph
visph - avatar
- 1
I need to display text, but with input
1st Mar 2021, 5:01 AM
Paris Andrade
Paris Andrade - avatar
- 1
string a; a = "Knowledge is power"; Console.WriteLine(a); practice says I have no input
1st Mar 2021, 5:32 AM
Paris Andrade
Paris Andrade - avatar
- 1
Write a program to print "Knowledge is power." Don't forget to put a punctuation mark at the end of the quote.
1st Mar 2021, 5:35 AM
Paris Andrade
Paris Andrade - avatar
- 1
I think you are looking for: Console.Readline(); //<Input from user string msg = “Text”; //note structure of variable msg declaration Console.WriteLine(msg); //output //Output = Text
19th Apr 2021, 5:51 AM
Tim Yates
Tim Yates - avatar