samedi 25 avril 2015

I want to know how to perform input and output operations in C#


I want to know how to perform input and output operations in C#.I know C++ but I want to write a code in C. This is the basic code in C++ I want to write the same thing using C language.

    #include<iostream.h>
    #include<conio.h>
    void main()
    {
    clrscr();
    char name;
    cout<<"\n Enter name";
    cin>>name;
    cout<<"Hello!!"<<name<<": \t ";
    getch();
    }


Aucun commentaire:

Enregistrer un commentaire