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
Bool datatype Operation for GCC
ATM
C dynamic string implementation using preprocessor
Finding type of triangle assignment
Array Incrementing by 1
1.8 Parallizing for loop
Assignment 5
20171127_ARRAY_ValorMayor
Test2
menu