c语言初学经历
程序代码:
main() { printf("qing bu yao bu li wo ")' getch(); }
程序代码:
main() { int a,b,c,d,e; a =85+23; b =85-23; c =85*23; d =85/23; d =85%23; printf("he shi %d\n"); printf("cha shi %d\n"); printf("ji shi %d\n"); printf("shan shi %d\n"); printf("yu shi %d"); getch(); }
程序代码:
main() { int r; float s,c; scanf("%d",&r); s =2*r*3.14; c =3.14*r*r; prinf("hsghjgh %f hghjgdh%f",s,c); getch(); }