I'm learning C++
#include < iostream >int Add(int x, int y)
{
std::cout << "I read Chapter " << x << " and Chapter " << y << "\n";
return (x+y);
}
int main()
{
std::cout << "I'm reading...\n";
std::cout << "...'Teach Yourself C++ in 24HRS'\n";
std::cout << "It makes my day more meaningful.\n";
std::cout << "Now I just finished Chapter " << Add(1,3);
std::cout << "\nThis stuff is pretty fun :)\n\n" ;
return 0;
}
posted by Bikku @ 5:39 PM
0 Comments:
Post a Comment
» Home