IJUL'S BLOG

Meng-Enkrypsi sebuah Kalimat

catatan kuliahq:
ni source code Enkrypsi nya:

#include<iostream.h>
#include<conio.h>
#include<string.h>

void main()
{
    int k,n;
    char m;
    char teks[25];
    cout<< "inputkan kalimat = ";
    cin.get(teks,sizeof(teks));
    cout<< "masukkan batas =";
    cin>>n;
    cout<< " kalimat yang diinputkan = "<<teks<<endl;
    for (k=0;k<strlen(teks);k++)
    {
    m=teks[k]+n;
   cout<<m;
    }
    }

0 komentar:

Posting Komentar

Powered By Blogger
Diberdayakan oleh Blogger.

Entri Populer

PENGUNJUNG

Buku Tamu

About Me

Foto Saya
Ijal Ferdi
there is no something special about me,,, but this blog is so special for me......
View my complete profile

Total Tayangan Halaman

Followers