Ask your own question, for FREE!
Computer Science 15 Online
OpenStudy (anonymous):

write a program to print welcome without using semicolon anywhere in the program using c/c++/java

OpenStudy (anonymous):

C++ #include <cstdio> int main() { if (puts("Welcome!")) {} }

OpenStudy (anonymous):

http://ideone.com/a3Y7b perfectly valid C++ program

OpenStudy (jagatuba):

As always agd. :)

OpenStudy (jagatuba):

And in Java: class Main { public static void main( java.lang.String[] args ) { if( java.lang.System.out.printf( "Welcome%n" )== null ){} }} Also perfectly valid: http://ideone.com/XqZd3

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!