Widget HTML #1


Kode Program Password Bahasa Pemrograman C++

Sumber gambar : https://betanews.com
Kode program Password C++

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
#include<iostream>
#include<string>
using namespace std;
string password;

int main(){
cout << "Ketik kata sandi : ";
cin >> password;

if (password="tekanenter"){
   cout << "password BENAR";
}
else
{
   cout << "password SALAH";
}
}
Silahkan copy-paste kode diatas pada compiler C++ DevCpp atau CxxDroid untuk penggunaan HP Androoid.
Wisnurat
Wisnurat Teacher, Public Speaker, Writer, Blogger, Education Content Creator and Enterpreneur.

Post a Comment for "Kode Program Password Bahasa Pemrograman C++"

SUBCRIBE

Ada video terbaru di Channel YTube Pa Wisnurat
Cek tombol subcribe di atas.