`

1020a1.2

阅读更多
#include <stdio.h>
#include <conio.h>
#define N 100


void getNum(int a[],int b[]);
int main()
{
int a[N],b[N];
getNum(a,b);
getch();
return 0;
}


void getNum(int a[],int b[])
{
int j,i=0,t=0;
printf("请输入坐标:\n");
for(;i<N;i++)
{ scanf("%d %d",&a[i],&b[i]);
if(a[i]==0&&b[i]==0&&a[i-1]==0&&b[i-1]==0)break;
}
for(j=0;j<i;j++)
{
printf("%d %d\n",a[j],b[j]);
}


/* return 0; */
}
分享到:
评论

相关推荐

    三极管参数大全 型号 功能 代换

    A1020 21 PNP 音频 开关 50V 2A 0.9W A1123 21 PNP 低噪放大 150V 0.05A 0.75W A1162 21D PNP 通用 贴片 50V 0.15A 0.15W A1216 BCE PNP 功放开关 180V 17A 200W 20MHZ C2922 A1265 BCE PNP 功放开关 140V 10A ...

    论文研究 - 埃塞俄比亚南部儿童的结核病检测和确诊率不断提高:使用显微镜和Xpert测试的合并样本

    在1020份样本中(282份胃液和738份痰液样本),Xpert阳性38份(3.7%)(胃液10份(3.5%),痰液28份(3.8%))。 同样,ZN检出的痰液样本中有8份(1.2%)为阳性,但胃抽出液中没有。 在提交痰液样本的244名儿童...

    数位板压力测试

    This specification was developed in response to a perceived need for a standardized programming inter-face to digitizing tablets, three dimensional position sensors, and other pointing devices by a ...

    nec单片机实验指导

    1.2 功能特点 2 1.3 实验项目 3 1.4 主要功能块 4 第2章 PM+的安装及MINICUBE的硬件连接 6 2.1 安装RA78K0/PM PLUS 6 2.2 安装CC78K0 10 2.3 安装ID78K0-QB 13 2.4 安装设备文件 17 2.5 安装QB-78K0MINI 19 2.6 电路...

    Total Commander(TC)的ulister文件查看Lister插件,已包含Oracle的Redist库,可预览大量文件格式

    1020 - Volkswriter 1021 - DEC DX 3.0 and below 1022 - Sprint 1023 - WordPerfect 4.2 1024 - Total Word 1025 - Wang IWP 1026 - Wordstar 5.5 1028 - Rich Text Format 1029 - Mac Word 3.0 1030 - ...

    UniExtract

    SfxSplit.exe 1.0.2.1020 2013.05.29 sim_unpacker.exe 1.0.0.0 2012.08.01 stix_w32.exe -.-.-.- 2012.03.29 tee.exe 1.9.4 * 1999.11.11 trid.exe 2.20 * 2015.04.09 Uharc02.exe -.-.-.- 1997.12.21 UHARC04.EXE ...

    ARM system-on-chip architecture

    1.2 Abstraction in hardware design 3 1.3 MU0 - a simple processor 7 1.4 Instruction set design 14 1.5 Processor design trade-offs 19 1.6 The Reduced Instruction Set Computer 24 1.7 Design for low ...

    SAP屠夫作品汇总

    2.Q&A 605 1.How to Activate Direct Posting to G/L Accounts and Material Account 605 2.What will Happen? 607 3.Mark delv. Completed 607 物料移动类型和后勤自动科目设置 608 分割评估和混合成本 620 业务...

    Geoserver用户手册

    1.2 History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.3 Getting involved . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

    Visual C++ 2005入门经典--源代码及课后练习答案

    1.2 CLR 2 1.3 编写C++应用程序 3 1.4 学习Windows编程 4 1.4.1 学习C++ 4 1.4.2 C++标准 5 1.4.3 控制台应用程序 5 1.4.4 Windows编程概念 6 1.5 集成开发环境简介 7 1.6 使用IDE 9 1.6.1 工具...

    Delphi5开发人员指南

    1.2 Delphi是什么 3 1.2.1 可视化开发环境 3 1.2.2 编译器的速度和已编译代码的效 率 4 1.2.3 编程语言的功能及其复杂性 4 1.2.4 数据库结构的灵活性和可扩展性 5 1.2.5 框架对设计和使用模式的扩充 5 1.3 历史回顾...

Global site tag (gtag.js) - Google Analytics