miércoles, 28 de agosto de 2013

CREAR CARPETAS

ACTIVIDAD 5

CREA UN CARPETA CON TU NOMBRE EJEMPLO: ROSAURA-JAVA
DENTRO DE ESTA CARPETA CREA OTRAS TRES CON LOS NOMBRES
PARCIAL 1
PARCIAL 2
PARCIAL 3








#include<iostream>
using namespace std;
int main()
{
int a,b,c;
cout<<("cuál es valor de A ");
cin>>a;
cout<<("cuál es valor de B ");
cin>>b;
cout<<("cuál es valor de C ");
cin>>c;
if(a>b&& a>c)
{if (b<c)
{cout<<("MAYOR ES A")<<endl;
cout<<("MENOR ES B")<<endl;}
else
{cout<<("MAYOR ES A")<<endl;
cout<<("MENOR ES C")<<endl;}}
else
{ if (b>c)
{if (a<c)
{cout<<("MAYOR ES B")<<endl;
cout<<("MENOR ES A")<<endl; }
else
{cout<<("MAYOR ES B")<<endl;
cout<<("MENOR ES C")<<endl;}}
else
{if (a<b)
{cout<<("MAYOR ES C")<<endl;
cout<<("MENOR ES A")<<endl;}
else
{cout<<("MAYOR ES C")<<endl;
cout<<("MENOR ES B")<<endl;}}}
system("pause");
return 0;          
}

No hay comentarios.:

Publicar un comentario