Preview:
/* Ini adalah program C++
untuk menampilkan Hello World di layar */

#include<iostream> 		// File header yang berisi fungsi untuk operasi i/o (input/output)
using namespace std; 		// Namespace
int main(){ 			// Eksekusi program dimulai dari sini
  cout << "Hello World" << endl;// Ini akan mencetak Hello World di layar
  int nilai = 97;		// variabel
  cout << nilai << endl;	// Ini akan mencetak 97 di layar
  return 0; 			// Eksekusi program berhasil
}
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