Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
int_A_1a.c
#include<stdio.h> #include<string.h> main() { char x[20]; int a[200]; do{ scanf("%s", x); if((x[1]=='=')&&(x[3]=='+')) { a[x[0]]=a[x[2]]+a[x[4]]; } if((x[1]=='=')&&(x[2]<60)) { a[x[0]]=x[2]-48; } elif((x[1]=='=')&&(x[2]>60)&&(x[3]!='+')) { a[x[0]]=a[x[2]]; } if(x[1]=='r') { printf("%d\n",a[x[6]]); sleep(1); } }(while(1)); }
run
|
edit
|
history
|
help
0
child process
tarea1
pattern 12
20171030_TRIANGULO
ytre
ECE 2574 1/23
hello 5
gets.c
FunPointTeleBook
no output