SlideShare a Scribd company logo
Да се състави програма, която въвежда от клавиатурата три цели числа и извежда съобщение
кое от тях е най-голямо и кое най-малко.



#include<iostream.h>
int main()
{
inta,b,c;
cout<<”a=”;
cin>>a;
cout<<”b=”;
cin>>b;
cout<<”c=”;
cin>>c;
if(a>b)
    if(a>c) cout<<”Nai-golqmotochislo e an”;
    else
       if(c>b) cout<<”Nai-golqmotochislo e cn”;
else cout<<”Nai-golqmotochislo e bn”;
retur 0;
}

More Related Content

Viewers also liked

Catalogo - Américas Maquinaria
Catalogo - Américas MaquinariaCatalogo - Américas Maquinaria
Catalogo - Américas Maquinaria
americasmaquinaria
 
Content marketing voor freelancers
Content marketing voor freelancersContent marketing voor freelancers
Content marketing voor freelancers
YOUniverse.be
 
Desastres naturais
Desastres naturaisDesastres naturais
Desastres naturais
egle
 
Ataque al Corazon
Ataque al CorazonAtaque al Corazon
Ataque al Corazon
V Sanchez
 
Manuel barahona
Manuel barahonaManuel barahona
Manuel barahona
sanz789
 
Brazilians in the U.S. and Massachusetts: A Demographic and Economic Profile
Brazilians in the U.S. and Massachusetts:  A Demographic and Economic ProfileBrazilians in the U.S. and Massachusetts:  A Demographic and Economic Profile
Brazilians in the U.S. and Massachusetts: A Demographic and Economic Profile
Instituto Diáspora Brasil (IDB)
 
Program dodele diploma, jul 2014
Program dodele diploma, jul 2014Program dodele diploma, jul 2014
Program dodele diploma, jul 2014
FEFA Faculty
 
Baby Pandas
Baby PandasBaby Pandas
Baby Pandas
Ren
 
Diseñoensayo
DiseñoensayoDiseñoensayo
Diseñoensayo
Eri Vanesa
 
REFI34 featuring Anika PDF
REFI34 featuring Anika PDFREFI34 featuring Anika PDF
REFI34 featuring Anika PDF
Daniel Edrei
 
Historia de la_estadistica_y_la_probabil
Historia de la_estadistica_y_la_probabilHistoria de la_estadistica_y_la_probabil
Historia de la_estadistica_y_la_probabil
Aldair Herrera Ferreira
 
Diagrama pareto
Diagrama paretoDiagrama pareto
Diagrama pareto
Viridiana R. Maldonado
 
Duurzaamheid laten renderen
Duurzaamheid laten renderenDuurzaamheid laten renderen
Duurzaamheid laten renderen
Netherlands Enterprise Agency (RVO.nl)
 
Van theoretische kans naar hard voordeel: hoe loopt die route in onze praktijk?
Van theoretische kans naar hard voordeel: hoe loopt die route in onze praktijk?Van theoretische kans naar hard voordeel: hoe loopt die route in onze praktijk?
Van theoretische kans naar hard voordeel: hoe loopt die route in onze praktijk?
Netherlands Enterprise Agency (RVO.nl)
 

Viewers also liked (18)

Catalogo - Américas Maquinaria
Catalogo - Américas MaquinariaCatalogo - Américas Maquinaria
Catalogo - Américas Maquinaria
 
Bsc. Statment
Bsc. StatmentBsc. Statment
Bsc. Statment
 
Happy women's day
Happy women's dayHappy women's day
Happy women's day
 
Imprimir qbex computadores - vendas de computadores e notebooks
Imprimir   qbex computadores - vendas de computadores e notebooksImprimir   qbex computadores - vendas de computadores e notebooks
Imprimir qbex computadores - vendas de computadores e notebooks
 
Content marketing voor freelancers
Content marketing voor freelancersContent marketing voor freelancers
Content marketing voor freelancers
 
Desastres naturais
Desastres naturaisDesastres naturais
Desastres naturais
 
Ataque al Corazon
Ataque al CorazonAtaque al Corazon
Ataque al Corazon
 
Manuel barahona
Manuel barahonaManuel barahona
Manuel barahona
 
Brazilians in the U.S. and Massachusetts: A Demographic and Economic Profile
Brazilians in the U.S. and Massachusetts:  A Demographic and Economic ProfileBrazilians in the U.S. and Massachusetts:  A Demographic and Economic Profile
Brazilians in the U.S. and Massachusetts: A Demographic and Economic Profile
 
Program dodele diploma, jul 2014
Program dodele diploma, jul 2014Program dodele diploma, jul 2014
Program dodele diploma, jul 2014
 
Baby Pandas
Baby PandasBaby Pandas
Baby Pandas
 
Diseñoensayo
DiseñoensayoDiseñoensayo
Diseñoensayo
 
Vodafone Retail-Agra
Vodafone Retail-AgraVodafone Retail-Agra
Vodafone Retail-Agra
 
REFI34 featuring Anika PDF
REFI34 featuring Anika PDFREFI34 featuring Anika PDF
REFI34 featuring Anika PDF
 
Historia de la_estadistica_y_la_probabil
Historia de la_estadistica_y_la_probabilHistoria de la_estadistica_y_la_probabil
Historia de la_estadistica_y_la_probabil
 
Diagrama pareto
Diagrama paretoDiagrama pareto
Diagrama pareto
 
Duurzaamheid laten renderen
Duurzaamheid laten renderenDuurzaamheid laten renderen
Duurzaamheid laten renderen
 
Van theoretische kans naar hard voordeel: hoe loopt die route in onze praktijk?
Van theoretische kans naar hard voordeel: hoe loopt die route in onze praktijk?Van theoretische kans naar hard voordeel: hoe loopt die route in onze praktijk?
Van theoretische kans naar hard voordeel: hoe loopt die route in onze praktijk?
 

Pr1

  • 1. Да се състави програма, която въвежда от клавиатурата три цели числа и извежда съобщение кое от тях е най-голямо и кое най-малко. #include<iostream.h> int main() { inta,b,c; cout<<”a=”; cin>>a; cout<<”b=”; cin>>b; cout<<”c=”; cin>>c; if(a>b) if(a>c) cout<<”Nai-golqmotochislo e an”; else if(c>b) cout<<”Nai-golqmotochislo e cn”; else cout<<”Nai-golqmotochislo e bn”; retur 0; }