// test1.cpp : Defines the entry point for the console application.
//
#include <stdafx.h>
#include <conio.h>
#include <iostream>
using namespace std; //использовать пространство
//имён std
int main(int argc, char* argv[])
{
cout << ((6/2)+3) << endl;
getch();
return 0;
}
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
int main(int argc, char* argv[])
{
cout << ((6/2)+3) << endl;
char StopCharacter;
cout << endl << "Press a key and \"Enter\": ";
cin >> StopCharacter;
getch();
return 0;
}
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
int main(int argc, char* argv[])
{
const int Dividend = 6;
const int Divisor = 2;
int Result = (Dividend/Divisor);
Result = Result + 3;
cout << Result << endl;
char StopCharacter;
cout << endl << "Press a key and \"Enter\": ";
cin >> StopCharacter;
getch();
return 0;
}