Tchong 的 站内主页
菜鸟请教一个编程,请高手帮忙,指导
题目如下:编写函数,把时间当作3个整型参数(小时,分钟和秒钟),从时钟最后一次“敲击12点”时就返回秒数。使用这个函数来计算两个时间之间的秒数时间,这两个时间都是在时钟的一个12小时周期之内。请各位高手指导,小弟感激不尽。....
Read More >
我这个程序有什么错误;它说不应该这样结尾。#include<stdio.h>int main(){ int ten,unit,num,a,b,c; printf("请输入一个二位数:"); scanf("%d",&num); &n....
Read More >
2008
10-17
10-17
我想编的程序是这样的:
Enter the gallons used(-1 to end):12.8
Enter the miles driven:287
The miles/gallon for this tank was 22.421875
Enter the gallons used(-1 to end):10.3
Enter the miles dri....
Read More >