why I can't use printf(""); why they says console.writeline ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

why I can't use printf(""); why they says console.writeline ?

21st Jun 2016, 5:37 PM
shreyas kumawat
13 Answers
+ 1
These things are different from language to language. If you want to use printf("") you could always create a method for it.
24th Jun 2016, 4:59 PM
Andreas BeEm Kvist
Andreas BeEm Kvist - avatar
+ 1
yes thanks 👻👻👻👻🙌🙌🙌🙌
24th Jun 2016, 5:15 PM
shreyas kumawat
+ 1
i think printf("") is used in c language ...and cannot be used here
26th Jun 2016, 2:24 PM
mani krishna
mani krishna - avatar
+ 1
you can only use Printf method in C language
29th Jun 2016, 5:56 PM
Jay Rald Tajale
Jay Rald Tajale - avatar
0
well i guess its the way the language is. its really fycked up, but powerfull.
21st Jun 2016, 6:43 PM
1000_emotions
1000_emotions - avatar
0
console.WriteLine won't work for some reason though.
26th Jun 2016, 8:10 PM
Hell on Wheels
Hell on Wheels - avatar
0
Java also used printf() method, BTW every language has different type of output method
28th Jun 2016, 11:49 AM
HexAez
HexAez - avatar
0
you can only use Printf method in C language
29th Jun 2016, 5:56 PM
Jay Rald Tajale
Jay Rald Tajale - avatar
0
U use the object "console" from namespace "system and then u use the method "writeline" thats it
2nd Jul 2016, 9:06 PM
Manuel Pritz
Manuel Pritz - avatar
0
ok
5th Jul 2016, 6:44 PM
shreyas kumawat
0
printf works in c/c++ only
15th Jul 2016, 5:17 PM
Aditya Arora
0
in Python you use (print) however it is like most languages every one is different even if closely related such as Mexican Spanish and Spain Spanish
5th Nov 2016, 8:41 PM
Robert Johnson
Robert Johnson - avatar
- 1
you can only use Printf method in C language
29th Jun 2016, 5:57 PM
Jay Rald Tajale
Jay Rald Tajale - avatar