3rd Simple C++ Program - Tutorial

ssendi By ssendi, 12th Apr 2012 | Follow this author | RSS Feed | Short URL http://nut.bz/q8t_mbw9/
Posted in Wikinut>Guides>Technology>Computer Software

This program is similar to "2nd Simple C++ Program" but here user of the program
chooses value that he wants..

3rd Simple C++ Program - Tutorial

/*
This program is similar to "2nd Simple C++ Program" but here user of the program
chooses value that he wants..
To give a value to a certain variable we use "cout>>"...

*/



#include <iostream>
using namespace std;
int main()
{
int number;
cout<<"Please enter your number: ";
cin>>number;

cout<<endl;
cout<<"Write this on the screen: "<<number<<endl;
system("PAUSE");
return EXIT_SUCCESS;
}


Click here if you want to see more C++ programs....

Tags

Code, Code Word, Codes, Program, Programmes, Programming, Programming In C, Programming Software, Programs, Simple, Tutor, Tutor Jobs, Tutorial, Tutorials, Tutoring, Tutoring On The Internet, Tutoring On-Line, Tutors

Meet the author

author avatar ssendi
I'm from Bosnia, and I like computer languages...
On this site I'will mainly write codes for programs, in C++, Java, and HTML...
I also write at http://www.expertscolumn.com

Share this page

moderator Steve Kinsman moderated this page.
If you have any complaints about this content, please let us know

Comments

author avatar Denise O
29th Jun 2012 (#)

Thank you for sharing.:)

Reply to this comment

Add a comment
Username
Can't login?
Password