搜索资源列表
IDcard
- 主要参数:输入15位旧身份证号码,输出18位新身份证号码。完成以下功能:根据给定的转换规则将15位身份证号转化为18位身份证号码,要考虑程序命令行参数; 要应用以下知识点:字符数组基本输入、输出;循环控制结构;命令行参数。 -The main parameters: the old ID number input 15, output 18 new ID number. Complete the following functions: the transformation rules
identifyword
- 一个验证身份证号码有效性的小程序。身份证号码必须是18位,而且前17位必须是数字,最后一位只能是数字或小写字母x,第7到14位是出生年月日,必须符合有效性检测,即年在1900到2010之间,月要在1到12之间,日子要考虑闰年的情况。-Verify the identity card numbers of the effectiveness of the program. Identity card number must be 18, and 17 must be numeric, the la
