原创 時間轉換器

時間轉換器 這是我慕課平臺上的一個作業 時間transform #include<stdio.h> void main() { int bjt,utc; int bjt_h,bjt_m,utc_h; printf(“請輸入北京時間:”

原创 猜數字的人性版(原創)

#include<stdlib.h>#include<stdio.h>#include<time.h> 猜數字的人性版(作業改編原創) void main(void) { srand((unsigned)time(NULL)

原创 經典收藏(發工資)

#include <stdio.h> 發工資 int main() { const double RATE = 8.25; const int STANDARD = 40; double pay = 0.0; int hours; p

原创 我的入門練習7(可能有錯,求指點)

#include<stdio.h> 7 void main() { int i,j,n; int sum=0; printf(“請輸入 n:”); scanf("%d",&n); for(i=1;i<=n;i++) { s

原创 入門練習6(借鑑過)

百錢百雞 6 #include<stdio.h> void main() {     int a,b,c;     for(a=0;a<=20;a++)     {         for(b=0;b<=3

原创 位數計算

#include<stdio.h> 計算數字位數小工具 int main() { int x; int n=0; scanf("%d",&x); do{ n++; x/=10; }while(x>0); prin