no habia un { y prueba de llave
This commit is contained in:
@@ -10,19 +10,19 @@ void clear(){
|
|||||||
system("clear");
|
system("clear");
|
||||||
} else {
|
} else {
|
||||||
system("cls");
|
system("cls");
|
||||||
}
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
int main()
|
int main(){
|
||||||
|
|
||||||
char opcion=0;
|
char opcion=0;
|
||||||
while (opcion!='8')
|
while (opcion!='8')
|
||||||
{
|
{
|
||||||
cout<<"SANCIONES APP. MENU PRINCIPAL"<<endl;
|
cout<<"SANCIONES APP. MENU PRINCIPAL"<<endl;
|
||||||
cout<<"===================================="<<endl;
|
cout<<"===================================="<<endl;
|
||||||
cout<<"Indroduce un numero entre 1 y 8"<<endl;
|
cout<<"Indroduce un numero entre 1 y 8"<<endl;
|
||||||
cout<<" 1. Consultar cehiculo."<<endl;
|
cout<<" 1. Consultar cehiculo."<<endl;
|
||||||
cout<<" 2. Añadir vehiculo."<<endl;
|
cout<<" 2. Añadir vehiculo."<<endl;
|
||||||
cout<<" 3. Mostrar radares."<<endl;
|
cout<<" 3. Mostrar radares."<<endl;
|
||||||
|
|||||||
Reference in New Issue
Block a user