Programa En C++
Enviado por monster61193 • 23 de Agosto de 2012 • 552 Palabras (3 Páginas) • 598 Visitas
#include<iostream.h>
#include<stdio.h>
#include<conio.h>
#include<string.h>
main()
{
char x[10];
int a=0,i=0,c=0;
cout<<"pasword : ";
gets(x);
a= strlen(x);
for(i=0;i<a;i++){
if(!isdigit(x[i]))
{
c++;
}
}
if(c>0){
cout<<"introduce numeros"<<endl;
}
if (strcmp(x,"12345")!=0){
do
{
system("cls");
cout<<"incert te pasword :";
gets(x);
}
while(strcmp(x,"12345")!=0);
}
{
float ham=45;
float t=15;
float r=10;
float hd=10;
float Gg=8;
float cc=25;
float ch=0.50;
float d=1;
float p=2;
float c=3;
float h=2;
float n=12;
float ccon=27;
float csin=20;
float tac=6.50;
float x,y,z,q,w,a,s,v,b,k,l,m,f,i,u;
cout<<"hamburguesas
...