文件名称: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
.....\code.c
.....\code.c