All pastes #639636 Raw Edit

Stuff

public text v1 · immutable
#639636 ·published 2007-07-30 18:46 UTC
rendered paste body
#include <iostream>
using namespace std;
//main function
int main()
{
//tell person to enter two numbers
 cout << "Enter Two Numbers: " << endl;
 //define 2 varibales
 int v1, v2;

 //keeps program open
 cin >> v1 >> v2;
  if(v1 = v2){
   cout << "Numbers Can not Be The Same " << endl;
 }    else{
 //add and display sum
cout << "The sum of " << v1 << " and " << v2
                  << " is " << v1 + v2 << endl;
                  //define varible
            }

cout << "Enter Two Numbers Again: " << endl;
int num1;
int num2;
cin >> num1 >> num2;

cout << "The Answer For  Is"  << num1*num2 << endl;


cout << "Enter Two Numers Once Again Last Time: " << endl;
int div1;
int div2;
cin >> div1 >> div2;

cout << "The Answer For " << div1 << " Divided By " << div2 << " is " << div1/div2 << endl;

cout << "Press Any Key To Close" << endl;
char f;
cin >> f;
  return 0;
}