0

Print

how do you print a string and a variable

18th Oct 2017, 6:10 PM
Smart
10 Answers
+ 5
Programming language please?
18th Oct 2017, 6:14 PM
Vitaly
Vitaly - avatar
+ 5
How far into the language have you read already? If you haven't started yet, then read through the entire language first.
18th Oct 2017, 6:32 PM
AgentSmith
+ 4
<p>Hello world!</p>
18th Oct 2017, 6:48 PM
Vitaly
Vitaly - avatar
+ 4
Hahaha Vitaly. You win. :D System.out.println("This is how you print a string and a " + myVariable + " in Java.") ;
18th Oct 2017, 6:50 PM
AgentSmith
+ 3
echo Hello wold!
18th Oct 2017, 6:45 PM
Vitaly
Vitaly - avatar
+ 3
Write("Hello world!");
18th Oct 2017, 6:45 PM
Vitaly
Vitaly - avatar
+ 3
cout<<"Hello world!"
18th Oct 2017, 6:46 PM
Vitaly
Vitaly - avatar
+ 3
document.write("Hello world");
18th Oct 2017, 6:47 PM
Vitaly
Vitaly - avatar
+ 2
thanks
19th Oct 2017, 8:45 PM
Smart