Math more math 2+2 =

// Math Tests Infamouskiller
//           * / =
//           operations
#include <cstdio>
#include <cstdlib>
#include <iostream>
using namespace std;

int main(int nNumberofArgs, char* pszArgs[])
{
int n1 = 10;
int n2 = 13;
int n3 = 54;
int n4 = 56;
int var = n1 * n2;
int var2 = n3 + n4;

cout << (n3) << ” Add ” << (n4) <<” =  ”  ;
cout << (var2) ;
cout << “\n”;

cout << (n1) << ” Times” << (n2) <<” =  ”  ;
cout << (var) ;
cout << “\n”;

system(“PAUSE”);
return 0;
}

Advertisements

~ by infamouskiller on July 22, 2008.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: