题解 | #KiKi设计类继承#

KiKi设计类继承

http://www.nowcoder.com/practice/699ba050e2704591ae3e62401a856b0e

#include<stdio.h> int main() { int a,b,d; double c,pi=3.14; scanf("%d%d",&a,&b); scanf("%lf",&c); scanf("%d",&d); if((picc)-(int)(picc)>0) { if((picc10)-(int)(picc10)>0) printf("%d\n%.2f\n%d\n",ab,(picc),dd); else printf("%d\n%.1f\n%d\n",ab,(picc),dd); } else printf("%d\n%d\n%d\n",ab,(int)(picc),dd); return 0; }

全部评论

相关推荐

点赞 收藏 评论
分享
牛客网
牛客企业服务