亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲(chóng)蟲(chóng)首頁(yè)| 資源下載| 資源專輯| 精品軟件
登錄| 注冊(cè)

Stdio

  • 溫度華氏轉(zhuǎn)變攝氏 #include <Stdio.h> #include <stdlib.h> enum x {A,B,C,D,E} int main(void)

    溫度華氏轉(zhuǎn)變攝氏 #include <Stdio.h> #include <stdlib.h> enum x {A,B,C,D,E} int main(void) { int a=73,b=85,c=66 { if (a>=90) printf("a=A等級(jí)!!\n") else if (a>=80) printf("73分=B等級(jí)!!\n") else if (a>=70) printf("73分=C等級(jí)!!\n") else if (a>=60) printf("73分=D等級(jí)!!\n") else if (a<60) printf("73分=E等級(jí)!!\n") } { if (b>=90) printf("b=A等級(jí)!!\n") else if (b>=80) printf("85分=B等級(jí)!!\n") else if (b>=70) printf("85分=C等級(jí)!!\n") else if (b>=60) printf("85分=D等級(jí)!!\n") else if (b<60) printf("85分=E等級(jí)!!\n") } { if (c>=90) printf("c=A等級(jí)!!\n") else if (c>=80) printf("66分=B等級(jí)!!\n") else if (c>=70) printf("66分=C等級(jí)!!\n") else if (c>=60) printf("66分=D等級(jí)!!\n") else if (c<60) printf("66分=E等級(jí)!!\n") } system("pause") return 0 }

    標(biāo)簽: include stdlib Stdio gt

    上傳時(shí)間: 2014-11-10

    上傳用戶:wpwpwlxwlx

  • 溫度華氏轉(zhuǎn)變攝氏 #include <Stdio.h> #include <stdlib.h> enum x {A,B,C,D,E} int main(void)

    溫度華氏轉(zhuǎn)變攝氏 #include <Stdio.h> #include <stdlib.h> enum x {A,B,C,D,E} int main(void) { int a=73,b=85,c=66 { if (a>=90) printf("a=A等級(jí)!!\n") else if (a>=80) printf("73分=B等級(jí)!!\n") else if (a>=70) printf("73分=C等級(jí)!!\n") else if (a>=60) printf("73分=D等級(jí)!!\n") else if (a<60) printf("73分=E等級(jí)!!\n") } { if (b>=90) printf("b=A等級(jí)!!\n") else if (b>=80) printf("85分=B等級(jí)!!\n") else if (b>=70) printf("85分=C等級(jí)!!\n") else if (b>=60) printf("85分=D等級(jí)!!\n") else if (b<60) printf("85分=E等級(jí)!!\n") } { if (c>=90) printf("c=A等級(jí)!!\n") else if (c>=80) printf("66分=B等級(jí)!!\n") else if (c>=70) printf("66分=C等級(jí)!!\n") else if (c>=60) printf("66分=D等級(jí)!!\n") else if (c<60) printf("66分=E等級(jí)!!\n") } system("pause") return 0 }

    標(biāo)簽: include stdlib Stdio gt

    上傳時(shí)間: 2013-12-12

    上傳用戶:亞亞娟娟123

  • 成績(jī)顯示三個(gè)部份abc #include<Stdio.h> #include<stdlib.h> int main(void) { float gread

    成績(jī)顯示三個(gè)部份abc #include<Stdio.h> #include<stdlib.h> int main(void) { float gread printf("請(qǐng)輸入分?jǐn)?shù)\n") scanf("%f",&gread) if(gread>=80&&gread<=100) printf("成績(jī)?yōu)锳\n") else if(gread>=60&&gread<=79) { printf("成績(jī)?yōu)锽\n") } else if(gread>=0&&gread<60) { printf("成績(jī)?yōu)镃\n") } else { printf("分?jǐn)?shù)輸入錯(cuò)誤\n") } system("pause") return 0 }

    標(biāo)簽: include stdlib float gread

    上傳時(shí)間: 2014-01-15

    上傳用戶:waizhang

  • 河內(nèi)塔問(wèn)題 #include<Stdio.h> #include<stdlib.h> int fun_a(int) void fun_b(int,int,int,in

    河內(nèi)塔問(wèn)題 #include<Stdio.h> #include<stdlib.h> int fun_a(int) void fun_b(int,int,int,int) int main(void) { int n int option printf("題目二:河內(nèi)塔問(wèn)題\n") printf("請(qǐng)輸入要搬移的圓盤(pán)數(shù)目\n") scanf("%d",&n) printf("最少搬移的次數(shù)為%d次\n",fun_a(n)) printf("是否顯示移動(dòng)過(guò)程? 是請(qǐng)輸入1,否則輸入0\n") scanf("%d",&option) if(option==1) { fun_b(n,1,2,3) } system("pause") return 0 } int fun_a(int n) { int sum1=2,sum2=0,i for(i=n i>1 i--) { sum1=sum1*2 } sum2=sum1-1 return sum2 } void fun_b(int n,int left,int mid,int right) { if(n==1) printf("把第%d個(gè)盤(pán)子從第%d座塔移動(dòng)到第%d座塔\n",n,left,right) else { fun_b(n-1,left,right,mid) printf("把第%d個(gè)盤(pán)子從第%d座塔移動(dòng)到第%d座塔\n",n,left,right) fun_b(n-1,mid,left,right) } }

    標(biāo)簽: int include stdlib fun_a

    上傳時(shí)間: 2016-12-08

    上傳用戶:努力努力再努力

  • 指定一個(gè)數(shù)字轉(zhuǎn)換回十進(jìn)位,八進(jìn)位,十六進(jìn)位#include <Stdio.h> #include <stdlib.h> int main(void) { int

    指定一個(gè)數(shù)字轉(zhuǎn)換回十進(jìn)位,八進(jìn)位,十六進(jìn)位#include <Stdio.h> #include <stdlib.h> int main(void) { int number =89 printf("數(shù)字 %d\n",number) /* %d 為十進(jìn)位輸出格式*/ printf("八進(jìn)位為 %o\n",number) /* %o 為八進(jìn)位輸出格式*/ printf("十六進(jìn)位為%x\n",number) /* %x 為十六進(jìn)位輸出格式*/ system("pause") return 0 }

    標(biāo)簽: include int stdlib Stdio

    上傳時(shí)間: 2013-11-29

    上傳用戶:tyler

  • 二叉樹(shù)中的prim最小生成樹(shù)算法。編譯環(huán)境:vistual Stdio 2008

    二叉樹(shù)中的prim最小生成樹(shù)算法。編譯環(huán)境:vistual Stdio 2008

    標(biāo)簽: vistual Stdio prim 2008

    上傳時(shí)間: 2016-12-12

    上傳用戶:linlin

  • #include<Stdio.h> #include<string.h> #include<limits.h> #include<unistd.h>

    #include<Stdio.h> #include<string.h> #include<limits.h> #include<unistd.h> #include<sys/types.h> #define PROMPT_STRING "[myshell]$" #define QUIT_STRING "exit\n" static char inbuf[MAX_CANON] char * g_ptr char * g_lim extern void yylex() int main (void){ for( ){ if(fputs(PROMPT_STRING,stdout)==EOF) continue if(fgets(inbuf,MAX_CANON,stdin)==NULL) continue if(strcmp(inbuf,QUIT_STRING)==0) break g_ptr = inbuf g_lim = inbuf + strlen(inbuf) yylex() } return 0 }

    標(biāo)簽: include gt lt limits

    上傳時(shí)間: 2016-12-31

    上傳用戶:colinal

  • 幀緩沖#include <Stdio.h> #include <stdlib.h> #include <string.h> #include <s

    幀緩沖#include <Stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <unistd.h> #include <fcntl.h> #include <sys/ioctl.h> #include <sys/mman.h> #include <asm/page.h> #include <linux/fb.h> #define TRUE 1 #define FALSE 2 //a framebuffer device structure typedef struct fbdev{ int fb unsigned long fb_mem_offset unsigned long fb_mem struct fb_fix_screeninfo fb_fix

    標(biāo)簽: include lt gt stdlib

    上傳時(shí)間: 2013-12-11

    上傳用戶:bjgaofei

  • //順序表的建立、查找、插入與刪除 #include <Stdio.h> #include <malloc.h> #include <stdlib.h> #

    //順序表的建立、查找、插入與刪除 #include <Stdio.h> #include <malloc.h> #include <stdlib.h> #define ListSize 100 //表最大長(zhǎng)度 //結(jié)構(gòu)定義 typedef struct SeqList { int node[ListSize] //存放表結(jié)點(diǎn) int length //當(dāng)前表長(zhǎng)度 } SeqList //插入元素 insertList(SeqList *list, int e) { int i=list->length-1 //先將i指定為最后一項(xiàng) if(i>=ListSize-1) //表已經(jīng)達(dá)到最大長(zhǎng)度ListSize { printf("表已滿,不能增加新的項(xiàng)!\n")

    標(biāo)簽: include gt lt malloc

    上傳時(shí)間: 2014-01-17

    上傳用戶:dongqiangqiang

  • #include <Stdio.h> #include <stdlib.h> #define OK 1 #define OVERFLOW -2

    #include <Stdio.h> #include <stdlib.h> #define OK 1 #define OVERFLOW -2 typedef int status typedef struct LinkList{ //用帶表頭結(jié)點(diǎn)的有序鏈表表示多項(xiàng)式 float coef //系數(shù) int expn //指數(shù) struct LinkList *next //指向后繼的指針 }*polynomail //結(jié)構(gòu)體類型的指針

    標(biāo)簽: include define OVERFLOW stdlib

    上傳時(shí)間: 2014-12-06

    上傳用戶:1079836864

主站蜘蛛池模板: 遂宁市| 扶绥县| 姚安县| 湖南省| 新绛县| 澄江县| 集贤县| 北海市| 连云港市| 汶上县| 金山区| 九龙县| 睢宁县| 凤翔县| 鄂伦春自治旗| 察隅县| 鄂伦春自治旗| 长顺县| 遂昌县| 西贡区| 永康市| 揭东县| 六盘水市| 永和县| 鄢陵县| 沽源县| 屏南县| 犍为县| 广饶县| 新丰县| 文昌市| 安徽省| 日照市| 临洮县| 青州市| 惠水县| 稷山县| 喀喇沁旗| 措美县| 万全县| 龙游县|