文件名称:code5
介绍说明--下载内容来自于网络,使用问题请自行百度
在1~42 的整數中, 樂透彩會開出6 個號碼以及一個特別號, 請你寫一個程式以計算n 張彩券的中獎總金額. 中獎規則以及獎額假設如下:
獎項規則獎金
頭獎6 個號碼全中1,000,000
二獎6 個號碼中5 個, 另一個中特別號100,000
三獎6 個號碼中5 個10,000
四獎6 個號碼中4 個1,000
五獎6 個號碼中3 個100
註: 中頭獎的不能再被被視為中三獎-Integers from 1 to 42, the lottery bears flowers of six numbers and a special number, please write a program to calculate the n winning lottery tickets on the total amount of Chang. Jiange winning rules and assumptions are as follows: first prize awards prize rules 6 No. 2 All in the 1,000,000 prize six numbers in the five, and the other three awards, inter alia, 100,000, No. 6 numbers in the five awards six numbers 10,000 4 4 1,000 5 awards in six numbers in the 3 100 Note: the first prize can not be no longer be regarded as the three awards.
獎項規則獎金
頭獎6 個號碼全中1,000,000
二獎6 個號碼中5 個, 另一個中特別號100,000
三獎6 個號碼中5 個10,000
四獎6 個號碼中4 個1,000
五獎6 個號碼中3 個100
註: 中頭獎的不能再被被視為中三獎-Integers from 1 to 42, the lottery bears flowers of six numbers and a special number, please write a program to calculate the n winning lottery tickets on the total amount of Chang. Jiange winning rules and assumptions are as follows: first prize awards prize rules 6 No. 2 All in the 1,000,000 prize six numbers in the five, and the other three awards, inter alia, 100,000, No. 6 numbers in the five awards six numbers 10,000 4 4 1,000 5 awards in six numbers in the 3 100 Note: the first prize can not be no longer be regarded as the three awards.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
code5/
code5/code.c
code5/code.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.