Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- #include <iostream>
- using namespace std;
- double *p;
- double n;
- double pr = 1;
- int sum;
- int min = 1000000;
- int max = -1000000;
- int i_;
- int j_;
- void getInput() {
- // ...
- }
- void process() {
- // ...
- }
- void printOutput() {
- // ...
- }
- int main()
- {
- setlocale(LC_ALL, "Russian");
- getInput(); // Ввод данных
- process(); // Обработка
- printOutput(); // Вывод на экран
- system("pause");
- return 0;
- }
Add Comment
Please, Sign In to add comment