#include <iostream>
using namespace std;
int main() {
int num=3;
if(num== 1){
cout<< "hello world 1"<< endl;
}else if(num==2){
cout<< "hello world 2"<< endl;
}else if(num==3){
cout<< "hello world 3"<< endl;
}
else{
cout<< "hello world"<< endl;
}
return 0;
}
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter