摘要:
结果图 1 #include <stdio.h> 2 //s为初态,z为终态 3 int in(int s,int z) 4 { 5 if(s == z) 6 { 7 printf("3\nlook!the last status belongs to Z"); 8 return 1; 9 }10 else11 {12 return 0;13 }14 }15 //s为状态,t为输入的字符16 int step(int s,char t)17 {18 if(t == 'a')19 ... 阅读全文