C++ int type Add 5 to the value

Description

C++ int type Add 5 to the value

#include <iostream> 

using namespace std; 

int main() //from  ww w  .  j  av a  2s .c o m
{ 
  int total; 
  total = 12; 
  cout << total << endl; 
  total = total + 5; 
  cout << total << endl; 
  return 0; 
}



PreviousNext

Related