Ayuda para arrglar programa
Publicado por Thais (12 intervenciones) el 19/04/2020 08:26:36
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include<conio.h>
#include<stdio.h>
main()
{
char a;
puts("Elaborado por: ");
printf("¿Cuanto es la suma de 578+89?:");
scanf("%d",&a);
{
if(a==667)
printf("!FELICIDADES, ES LA RESPUESTA CORRECTA¡");
else
if (a<667)
printf("**ERROR**\n**LA RESPUESTA ES INCORRECTA**");
else
if (a<667)
printf("**ERROR**\n**LA RESPUESTA ES INCORRECTA**");
}
getch();
return 0;
}
Valora esta pregunta
0