用户:
阿宏的pig查看:9 回复:4 评论:9 创建时间:2021-11-17T18:04:22
有谁看看吗?(顺便点个赞吧!)
crt盡我不想,但我能关注你吗?下面是我给你c++语言的一个程序。
#include <stdio.h>
#include <time.h>
main()
{
clock_t start,end;
int n;
printf("How many seconds do you want to count?");
scanf("%d",&n);
getchar();
start=end=clock();
while((n-(int)(end-start)/19)>=10)
{
printf("the time is:%",n-(int)(end-start)/19);
end=clock();
}
}点赞0
评论
crt盡哈哈哈哈哈哈哈哈哈哈哈哈imgsrc="http://img.t喵t4/appstyle/expression/ext/normal/9f/mango_02_thumb.gif"alt="emotion_芒果大笑"imgsrc="https://static.codemao.cn/emotion/thunder_monkey/%E9%9B%B7%E7%94%B5%E7%8C%B4z.gif"alt="emotion_雷电猴_嗯嗯"imgsrc="https://static.codemao.cn/emotion/star_cat/%E5%A5%BD%E5%90%83.gif"alt="emotion_星能猫_好吃"
点赞0
评论