posted @ 2019-02-20 21:34
PYozo
阅读(186)
推荐(0)
编辑
摘要:
(1)实验代码: #include<stdio.h> int main (void){ int money=0, i=1; char op; while(op!='$'){ scanf("%c", &op); if(op=='T'){ if(i>0){ money=money+7; printf("
阅读全文
posted @ 2019-02-20 21:14
PYozo
阅读(214)
推荐(0)
编辑
摘要:
(1)实验代码: #include<stdio.h>main(){ int n; scanf("%d",&n); if(n==0) { printf("a"); } int i=0,N=n; while(n!=0) { n=n/10; i++; } int a[i]; n=i; for(i=0;i<
阅读全文
posted @ 2019-02-20 00:20
PYozo
阅读(158)
推荐(0)
编辑