资源简介

期末作业要求如下: Write a program that will help elementary school pupils practice math. a) The program will first ask the user for his/her ID number (including two letters & 4 digits), e.g. Please input your four digit ID no: AB1234 The program should have input validation. Then the program pr

资源截图

代码片段和文件信息

/*******************************************************************************
 *  Name: A Small Test
 *  Copyright: 2014-2020 BUPTAll Right Reserved
 *  Author: Gao Tianhang
 *  Date: 05/06/14 13:32
 *  Description: A Fressman in Internationaol School of BUPT
*******************************************************************************/
#include 
#include 
#include 
#include 
char ID[128];
FILE *outFile;
/*-------------------------------主程序---------------------------------------*/
int main()
{
    void inputID();/*声明登陆校验模块*/ 
    int exam();/* 声明考试模块 */ 
    void search(); 
inputID(); 
/*----------------------------欢迎界面----------------------------------------*/
    int choice;
printf(“\n#######################################

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件        4081  2018-06-24 08:56  C program coursework.cpp

评论

共有 条评论