Cycle-09. Check denomination, cycle-09 check denomination

Source: Internet
Author: User

Cycle-09. Check denomination, cycle-09 check denomination

Loop-09. Cheque Denomination, Loop-09 Cheque Denomination

 1 /*
 2 * Main.c
 3 * C9-Cycle-09. Check denomination
 4 * Created on: July 28, 2014
 5 * Author: Boomkeeper
 6 ******** Test passed **********
 7 * /
 8 
 9 #include <stdio.h>
10
11 int main (void) {
12 int n = 0;
13 int y, f;
14
15 scanf ("% d", & n);
16
17 for (f = 0; f <100; f ++) {
18 for (y = 0; y <= (98 * f-n) / 199; y ++) {
19 if (98 * f-199 * y == n) {
20 printf ("% d.% D \ n", y, f);
21 return 0;
twenty two             }
twenty three         }
twenty four     }
25 printf ("No Solution \ n");
26
27 return 0;
28}
Title link:

http://pat.zju.edu.cn/contests/basic-programming/%E5%BE%AA%E7%8E%AF-09

 


What are the denominations of tourist checks
The latest ticket samples of the three traveler's cheque companies
1. VISA USD travel cheque denominations are USD 10, 20, 50, 100, 500, 1000 respectively
2. VISA Euro travel cheque denominations are 20, 50, 100, 200, 500 Euro
3, MASTERCARD USD travel cheque denominations are 10, 20, 50, 100, 500, 1000 USD
4, MASTERCARD Euro travel cheque denominations are 20, 50, 100, 200 euros
5. The denominations of American Express traveler's cheques are USD 20, 50, 100, 500 and 1000 respectively
6. Express Euro travel cheque denominations are 50, 100 and 200 euros respectively

Travel cheque is a fixed-denomination bill issued by a bank or financial institution to facilitate tourists to carry and pay for travel expenses during travel safely. Traveler's checks are mainly sold by Bank of China. At present, the cost of purchasing traveler's checks at Bank of China is: cash exchange purchase is 1% of the purchase amount, cash purchase is 3% of the purchase amount. The purchase must be handled by the person with a valid ID. The format of the traveler's cheque is fixed. When purchasing, sign on the horizontal line of the initial check column of the cheque. This signature must be the same as that on the passport. At the same time, fill in the travel cheque purchase agreement according to the requirements of the bank, including the name, address, nationality, and signature, this signature must be consistent with the initial signature on the travel cheque. The traveler's cheque and purchase agreement are reviewed by the bank and handed to me. Special attention should be paid to keep the traveler's cheque and purchase agreement separately. If the traveler's cheque is lost, the purchase agreement can be reported to any bank, usually within 24 hours. When using traveler's cheques, present your passport and sign in the re-examination column. If the initial re-examination matches, you can cash or spend.

Traveler's cheques have a variety of fixed denominations, multiple currencies, no expiration date, are widely accepted around the world, anti-counterfeiting measures on the face, and compensation for lost or stolen. . When using traveler's checks abroad, the charges will vary depending on the location of consumption. Customers can request a handbook free of exchange fees from the bank at the time of purchase. In general, travel cheques are free of charge when redeemed by travel cheque companies at foreign exchange shops.
 
How to fill in the amount of the transfer check in 2009

Wu Shiwan, Lu Baijiu, Shijiu Yuan, Wu Jiao points.

It's the same as before.
There are zeros (regardless of a few) between the billions, ten thousand, and yuans.
If the mantissa is less than the quantile, it must be rounded or positive.
E.g:
1000200030.5
That is: one hundred million yuan two thousand ten thousand three thousand yuan Wu Jiaozheng.
4653001.45
Buy Bailu picks up 3,000 thousand yuan and 10,000 yuan.

Can I send points?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.