还是c语言问题求解

[复制链接]
查看11 | 回复4 | 2012-7-4 12:50:57 | 显示全部楼层 |阅读模式
#includevoid main(){ int AB; int B; AB = (15 * 9 ) * 100 / (2 * 4); B = (15 * 9) * 10 / 2; printf("粉刷匠A 和B 同时粉刷,需要 %d 分钟\n",AB); printf("B 独自粉刷,他需要 %d 分钟\n",B);}...
回复

使用道具 举报

千问 | 2012-7-4 12:50:57 | 显示全部楼层
int main(void){
printf("A and B: %f", 15*9/(0.4+0.2));
printf("B: %f", 15*9/0.2);
return 0;}...
回复

使用道具 举报

千问 | 2012-7-4 12:50:57 | 显示全部楼层
#include#define S 15 * 9int main(){
int choice;
printf("enter your choice:\n1 同时刷所需时间\n2 B单独刷所需时间\n");
scanf("%d", &choice);
sw...
回复

使用道具 举报

千问 | 2012-7-4 12:50:57 | 显示全部楼层
不清楚...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行