+ 22
[ Challenge 2 ] Print "Hello World".
Write a program in C/C++/Java to print "Hello World" without using semicolon. https://code.sololearn.com/c7yLNeqbG224/?ref=app
20 Answers
+ 22
https://code.sololearn.com/cu6Z9LeUXuvL/?ref=app
+ 19
https://code.sololearn.com/c505dMLkmEJx/?ref=app
+ 14
In c++..
#include <iostream>
using namespace std;
int main() {
if(cout<<"Hello Word!"){}
}
+ 11
hello world till time limit exceeded 😜
#include <stdio.h>
main() {
while (printf ("Hello World")){
}
}
+ 11
Here's mine!
https://code.sololearn.com/cgXd4YWmZRst/?ref=app
+ 5
https://code.sololearn.com/cNxa8ltMKC1K/?ref=app
+ 5
@Md. Nafis nice one but i see a ; in your code.. you should leave using namespace std; and use std::cout instead ;)
+ 3
https://code.sololearn.com/crSCUby9CEvT/?ref=app
+ 1
سلام
+ 1
#include <stdio.h>
void main(void )
{
if(printf("Hello World") >0)
{
}
}
- 4
class A{
public static void main(String AR[]){
System.our.println("Hello World ");
}}
- 4
#include <stdio.h>
void main(void )
{
- 5
#include<iostream>
using namespace std;
int main ()
{
count << "Hello World 😊 ";
return 0;
}
- 5
#include<iostream.h>
//tells compiler to include std input output header file.
int main()
{
cout<<''hello world\n'';
//prints hello world on user screen
return 0;
//return the value zero to the SO.
}
- 5
#include<iostream.h>
//tells compiler to include std input output header file.
int main()
{
cout<<''hello world\n'';
//prints hello world on user screen
return 0;
//return the value zero to the SO.
}