登录
首页 » c » 从键盘读入若干个整数(读到-1或读满16个数均结束读入),然后倒序输出这些数

从键盘读入若干个整数(读到-1或读满16个数均结束读入),然后倒序输出这些数

于 2022-03-06 发布 文件大小:2.81 kB
0 147
下载积分: 2 下载次数: 1

代码说明:

程序P242.C已编写部分代码(单击此处下载),请根据程序中的要求完善程序(在指定的位置添加代码或将__________换成代码)——注意,除指定位置外,不能对程序中已有部分作任何修改或重新编写一个程序,否则作0分处理。   程序的功能是:从键盘读入若干个整数(读到-1或读满16个数均结束读入),然后倒序输出这些数。   程序的运行效果应类似地如图1所示,图1中的1 2 3 4 5 6 7 8 9 20 11 12 -1 13和图2中的1 31 3 4 5 6 7 8 21 10 11 12 13 14 15 16 17 18是从键盘输入的内容。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 数据结构C语言版
    说明:  《数据结构》这门课程是信息与计算科学专业中一门重要的专业基础课程。当用计算机来解决实际问题时,就要涉及到数据的表示及数据的处理,而数据表示及数据处理正是数据结构课程的主要研究对象,通过这两方面内容的学习,为后续课程,特别是软件方面的课程打下了厚实的知识基础,同时也提供了必要的技能训练。我们主要学习的数据结构包括队列、堆、栈、链表、树和图等。通常情况下,精心选择合适的数据结构可以带来更高的存储效率,因此,数据结构课程在计算机应用专业中具有举足轻重的作用。(Data Structure is an important basic course in information and computing science. When using computers to solve practical problems, it is necessary to involve data representation and data processing, and data representation and data processing are the main research objects of data structure course. Through the study of these two aspects, it lays a solid knowledge foundation for follow-up courses, especially for software courses, at the same time. Necessary skill training is provided. The main data structures we learn include queues, heaps, stacks, linked lists, trees and graphs. Usually, choosing the right data structure carefully can bring about higher storage efficiency. Therefore, the course of data structure plays an important role in computer application specialty.)
    2020-06-19 02:40:01下载
    积分:1
  • taskmgr
    任务管理器源代码,界面模仿windows下自己的任务管理器,需要的同学可以看看(Task Manager source code)
    2009-06-02 19:49:46下载
    积分:1
  • MaksMin
    Find the max and min number in an array
    2015-03-22 18:22:43下载
    积分:1
  • 项目
    说明:  超声波避障小车,基于STM32F407,搭载了ucosⅢ,HCSR04超声波传感器(Ultrasonic obstacle avoidance car)
    2020-11-25 20:19:32下载
    积分:1
  • news
    这是一个新闻发布系统的源代码,开发环境为c#(This is a press release the source code, development environment for c#)
    2012-06-19 19:30:58下载
    积分:1
  • netwon-Backward
    Newton backward program using C
    2013-02-18 23:16:00下载
    积分:1
  • OneNote OCR 图片识别 实例源码下载
    OneNote OCR 图片识别 实例源码下载
    2014-08-03下载
    积分:1
  • ESP32 定时器驱动显示RTC模拟时钟,屏幕为SPI驱动的128128,。方形的模拟表盘,三色指针。
    用ESP32驱动的SPI 128128 TFT彩屏,显示模拟时钟。采用定时器中断和内部RTC时钟,每秒刷新一次(只刷新指针)。代码包含其他程序,如GUI,基于缓存数组的GUI,可以全屏缓存和刷新。也包含GPIO例子、微秒级延时例子、硬件SPI例子等。
    2022-01-26 00:06:37下载
    积分:1
  • 单轴倾角传感器模块SCA60C
    单轴倾角传感器模块SCA60C的产品说明书,以及参考程序。(Single axis tilt sensor module, SCA60C product manuals, and reference procedures.)
    2021-04-13 08:58:56下载
    积分:1
  • uppaal-4.0.13-aca
    Uppal is a prototype verification tool to maodel and verify prototype
    2013-11-18 16:33:06下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载