Wednesday, November 13, 2002

(untitled)

by visaeril @ 21:55 [edit] [link]

#include
#include
int main()
{
int x, y, z;
std::cout << "Type in a number";
std::cin >> x;
std::cout << "Type in another number";
std::cin >> y;
z=x+y;
std::cout << x << " plus " << y << " equals: " z;
std::cout << "Press enter to quit";
getchar ();
return 0;
}

This post has no comments / Add a Comment