CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 Windows编程 其他小程序

文件名称:UPC

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2017-11-30
  • 文件大小:
    41kb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

UPC:下面是一种计算校验位的方法:首先把第一位、第三位、第五位、第七位、第九位和第十一位数字相加。然后把第二位、第四位、第六位、第八位和第十位数字相加。接着把第一次加法结果乘以3后再加上第二次加法的结果。随后,再把上述结果减去1。减法后的结果除以10取余数。最后,用9减去上一步骤中得到的余数。
输入
每次输入三行数据,第一行是UPC的第一位数字,第二行是UPC的第一组五位数字,第三行是UPC的第二组五位数字。
输出
UPC的校验位(Below UPC: is a method of calculating the checkout bit: first, the first, third, fifth, seventh, ninth, and eleventh digit numbers are added. Then add second, fourth, sixth, eighth, and tenth digits. Then the first addition result is multiplied by 3 and then added with the result of second additions. Then, the above results were subtracted from 1. The result after the subtraction is divided by 10 to take the remainder. Finally, the remainder obtained in the last step is subtracted with 9.
input
Each time input three lines of data, the first line is the first number of UPC, the second line is the first set of five digit numbers of the UPC, and the third line is the second group of five digit numbers of the UPC.
output
Check bits of UPC)
相关搜索: UPC

(系统自动生成,下载前可以参看下载内容)

下载文件列表

文件名大小更新时间
UPC.c 488 2017-11-16
UPC.exe 131176 2017-11-16

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com