**This is an old revision of the document!**


#include<iostream>
#include<iomanip>
#include<string>
 
using namespace std;
 
int main() {
 
	cout << endl << "\tCIN:\n\n";
 
	// from last time:
	int favorite_number;
	cout << "Please give me your favorite number:";
	cin >> favorite_number;
 
	cout << "\nHey, I know you, your favorite number is " << favorite_number << endl;
 
 
	return 0;
}
cs-142/basic-input.1472489926.txt.gz · Last modified: 2016/08/29 10:58 by kseppi
Back to top
CC Attribution-Share Alike 4.0 International
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0