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

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

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等級!!\n") else if (a>=80) printf("73分=B等級!!\n") else if (a>=70) printf("73分=C等級!!\n") else if (a>=60) printf("73分=D等級!!\n") else if (a<60) printf("73分=E等級!!\n") } { if (b>=90) printf("b=A等級!!\n") else if (b>=80) printf("85分=B等級!!\n") else if (b>=70) printf("85分=C等級!!\n") else if (b>=60) printf("85分=D等級!!\n") else if (b<60) printf("85分=E等級!!\n") } { if (c>=90) printf("c=A等級!!\n") else if (c>=80) printf("66分=B等級!!\n") else if (c>=70) printf("66分=C等級!!\n") else if (c>=60) printf("66分=D等級!!\n") else if (c<60) printf("66分=E等級!!\n") } system("pause") return 0 }

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

    上傳時間: 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等級!!\n") else if (a>=80) printf("73分=B等級!!\n") else if (a>=70) printf("73分=C等級!!\n") else if (a>=60) printf("73分=D等級!!\n") else if (a<60) printf("73分=E等級!!\n") } { if (b>=90) printf("b=A等級!!\n") else if (b>=80) printf("85分=B等級!!\n") else if (b>=70) printf("85分=C等級!!\n") else if (b>=60) printf("85分=D等級!!\n") else if (b<60) printf("85分=E等級!!\n") } { if (c>=90) printf("c=A等級!!\n") else if (c>=80) printf("66分=B等級!!\n") else if (c>=70) printf("66分=C等級!!\n") else if (c>=60) printf("66分=D等級!!\n") else if (c<60) printf("66分=E等級!!\n") } system("pause") return 0 }

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

    上傳時間: 2013-12-12

    上傳用戶:亞亞娟娟123

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

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

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

    上傳時間: 2014-01-15

    上傳用戶:waizhang

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

    河內(nèi)塔問題 #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)塔問題\n") printf("請輸入要搬移的圓盤數(shù)目\n") scanf("%d",&n) printf("最少搬移的次數(shù)為%d次\n",fun_a(n)) printf("是否顯示移動過程? 是請輸入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個盤子從第%d座塔移動到第%d座塔\n",n,left,right) else { fun_b(n-1,left,right,mid) printf("把第%d個盤子從第%d座塔移動到第%d座塔\n",n,left,right) fun_b(n-1,mid,left,right) } }

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

    上傳時間: 2016-12-08

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

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

    指定一個數(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

    上傳時間: 2013-11-29

    上傳用戶:tyler

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

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

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

    上傳時間: 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

    上傳時間: 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

    上傳時間: 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 //表最大長度 //結(jié)構(gòu)定義 typedef struct SeqList { int node[ListSize] //存放表結(jié)點 int length //當(dāng)前表長度 } SeqList //插入元素 insertList(SeqList *list, int e) { int i=list->length-1 //先將i指定為最后一項 if(i>=ListSize-1) //表已經(jīng)達(dá)到最大長度ListSize { printf("表已滿,不能增加新的項!\n")

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

    上傳時間: 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é)點的有序鏈表表示多項式 float coef //系數(shù) int expn //指數(shù) struct LinkList *next //指向后繼的指針 }*polynomail //結(jié)構(gòu)體類型的指針

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

    上傳時間: 2014-12-06

    上傳用戶:1079836864

主站蜘蛛池模板: 来凤县| 霍山县| 郧西县| 永清县| 普宁市| 全椒县| 长葛市| 涟源市| 祁门县| 苍南县| 阿克| 克山县| 建瓯市| 台东市| 贵阳市| 道真| 甘孜| 丹阳市| 敖汉旗| 夏津县| 博兴县| 陈巴尔虎旗| 瑞金市| 疏附县| 托克托县| 宜兰县| 蓝山县| 华阴市| 张掖市| 衡南县| 新建县| 潜山县| 保德县| 南部县| 嫩江县| 长泰县| 宜兰县| 工布江达县| 荆门市| 南溪县| 荆州市|