Технический форум

Технический форум (http://www.tehnari.ru/)
-   C/C++/С# (http://www.tehnari.ru/f42/)
-   -   Помогите сделать блок-схему к программе (http://www.tehnari.ru/f42/t79192/)

ivan30 09.10.2012 23:51

Помогите сделать блок-схему к программе
 
#include "stdafx.h"
#include "iostream"
using namespace std;
void main ()
{
const int x=2147483647, y=-2147483647;
int min=x, number, max=y;
cout <<"enter the number "<<endl;
cout <<"to complete type 0" <<endl;
do
{
cout<<"number ";
cin >>number;
if(number==0) break;
if(max<number)max=number;
if(min>number)min=number;
}
while (number!=0);
cout<<"min= "<<min<<endl;
cout<<"max= "<<max<<endl;
system("pause");
}

Fenix 10.10.2012 05:43

Свой вариант сначала. За Вас делать нет желания. Скатаете тупо и все.


Часовой пояс GMT +4, время: 09:51.

Powered by vBulletin® Version 4.5.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.