摘要: #include<stdio.h>#include<string.h>int main(void){ char string[100]; int index = 1; int sum = 0; int temval = 1; char ope, c,inope; memset(string, 0, 100); scanf("%s",string); sum += (string[0] - 48); while(string[index] != '\0') { c = string[index]; switc... 阅读全文
posted @ 2011-10-11 17:04 又是一年夏天 阅读(1214) 评论(0) 推荐(0) 编辑