Welcome![Sign In][Sign Up]
Location:
Downloads Documents
Title: cPPpractice Download
 Description: Chapter 6 (I) programming assignment questions Question 1: 1, enter a positive integer n, it represents an RMB amount of money (metadata). To strike such a program, using the least number of sheets of RMB notes, make up the amount of money n. Note: There are seven par value of RMB yuan notes are: 100,50,20,10,5,2,1. Assuming the input data is 196, then at least use the six yuan notes: 196 = 1* 100+ 1* 50 2* 20+ 1* 5+ 1* 1. When the input data for the 908, then at least use the 12 yuan note: 908 = 9* 100+ 1* 2+ 5+ 1* 1* 1. A program can be designed so that the screen displays the results after the execution has the following form: Input a positive intdger: 196 < Enter> 196 (yuan) = 1* 100+ 1* 50+ 2* 20+ 1* 5+ 1* 1 (yuan) total_sheet = 6* /
 Downloaders recently: [More information of uploader 1217205235]
 To Search:
File list (Check if you may need any files):
c++practice.cpp
    

CodeBus www.codebus.net