Project

General

Profile

noUserInput.cc

Jason Torola, 11/25/2009 01:48 PM

 
1
#include <iostream>
2

    
3
int main()
4
{
5
  int n, o;
6

    
7
  std::cout << "First number: ";
8
  std::cin >> n;
9
  std::cout << "Second number: ";
10
  std::cin >> o;
11

    
12
  std::cout << n + o << "\n";
13
}