Getting example

1, the output line of text

2, the 20 paintings divided equally among seven students, each share of a few, a few left?

3, the following code outputs What is the result?

cout<<9/8<<4*(6+3)%5<<(4*6+3)%5<<endl;

  Results: 112

  Note: If you want to insert instructions in the middle of the content, as follows:

cout<<9/8<<","<<4*(6+3)%5<<"not same:"<<(4*6+3)%5<<endl;

* = 4,8000 seconds? hour? minute? second

5, there are three sets of 90 hectares of arable tractor three days, according to this calculation, the number of hectares of farmland five tractors six days?

6, there are five car can carry four 100 tons of steel, if the delivery of 105 tons of steel with the same seven cars, need to be transported several times?

* 7, there are 58 sports room, rope skipping, if divided equally among the remaining eight classes and no, at least to get rid of a few jump rope? Assigned to each class a few jump rope?


The following topics involve fractional arithmetic

8,4 workers three days a 90 m2 shop floor tiles, according to this calculation, five workers in six days the number of tiles can shop?

9, buy 5 pencils to 0.6 yuan to buy the same pencil 16, how much money?

10 garment factories had to do a set of clothes with a cloth 3.2 meters, the improved cropping methods, each with a cloth clothes 2.8 m. The original 791 sets of clothes made of cloth, how many sets you can do now?

11, two tiles a rectangle 10 cm long, 8 cm wide, another square, rectangular tile area greater than 16 square cm area of ​​the square tile, ceramic tile side length of square centimeters?

[C ++ in prescribing: 1, # include <math.h> 2, sqrt (x)]

--------------- (speaking here of variables and inputs) ------------------

The problem with an asterisk input variables and do it again, become general-purpose computing program.

 ---------------- (as the case following, not necessarily speak) -----------------------

1, chickens and rabbits with cage (interesting solution, conventional solutions).

2, the same seven apples into three different dish, how many put law. (Noip popular group preliminaries title)

3, a furniture company produces tables and chairs, wood is now a total of 113 units. Each table use 20 units of wood, well after the sale price is $ 30; each chair to the use of wood 16 units, the sale price is 20 yuan. Use existing timber production and chairs (not necessarily want to run out of wood), how many dollars can sell up to? (Noip popular group preliminaries title)

Guess you like

Origin www.cnblogs.com/wanjinliu/p/10973753.html