开发者

Caesar's cipher in VC#

#include<string.h>
void main()
{
    char name[50];
    int i,j;
    printf("Enter the name:>");
    scanf("%s",&name);
    j=strlen(name);
    for(i=0;i<j;i++)
{
    name[i] = name[i]+3;
}
    printf("ENCRYTED NAME=>%s",name);
开发者_JAVA百科}

This a caesar's cipher in c programming friends i want use this same thing in VC# where i will get input from user through textbox. please help me out.


If you make a console application, you can do this:

Console.Write("Enter the name:>");
string name = Console.ReadLine();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜