xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 2KB
    文件類型: .cpp
    金幣: 1
    下載: 1 次
    發(fā)布日期: 2021-09-04
  • 語(yǔ)言: C/C++
  • 標(biāo)簽: C語(yǔ)言??柱狀圖??

資源簡(jiǎn)介

此程序主要用C語(yǔ)言編寫,主要把是3年的信息繪成柱狀圖進(jìn)行分析比較,數(shù)據(jù)可以自行輸入~

資源截圖

代碼片段和文件信息

#include?“graphics.h“
#include?“conio.h“
#include?“stdio.h“

int?income49products49income56products56income78products78;
int?n=3;//years

void?input()
{
???printf(“Please?input?nation?income?and?social?products?in?1949:?“);
???scanf(“%d?%d“&income49&products49);
???printf(“Please?input?nation?income?and?social?products?in?1956:?“);
???scanf(“%d?%d“&income56&products56);
???printf(“Please?input?nation?income?and?social?products?in?1978:?“);
???scanf(“%d?%d“&income78&products78);
}


void?draw()
{??
rectangle(8080500400);
????rectangle(9090125115);
????rectangle(90130125155);
????setfillstyle(1YELLOW);
????bar(9090125115);
????setfillstyle(1RED);
????bar(90130125155);
????outtextxy(130100“nation“);
????outtextxy(180100“income“);
????outtextxy(130140“social“);
????outtextxy(180140“products“);
????int?temp[6]={income49products49income56products56income78products78};
int?j=0;
for(int?m=0;m<2*n;m++)

評(píng)論

共有 條評(píng)論

相關(guān)資源