#include #include #include void main(void) { char str[1000000] = "a"; scanf("%s",str); char *tokenA; tokenA = strtok(str, "/"); char *tokenB; tokenB = strtok(NULL, "/"); double a,b; a = atof(tokenA); b = atof(tokenB); printf("%f",a/b); }