Latest Posts:

program on c++ that can accept string from a user and display its output


1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
// a c++ program that will string from user and display its output
#include<iostream>
using namespace std;
int main()
{
 string me;
 cout<<"what is your name!"<<endl;
 getline (cin,me);
 cout<<"your name is "<<me;
 return 0;
}


Share on Google Plus

About Lucky Ibitubo

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment

Powered by Blogger.