JAVA third weekly summary

JAVA second week test report (a)

1. printout of all the "number of Narcissus", the so-called "number Narcissus" means a 3-digit number, which is equal to the digits of the cube and the number itself. For example, 153 is a "number daffodils."

  1. Write Java programs, find the value of + 13-23 + 33-43 + 973-983 + 993-1003 ... of.

  2. Programming seek 1! +2! +3! + ... + 20 !.

  3. Write Java programs, the calculation 8 + 88 + 888 + 10 ... and before it.

  4. If it is exactly equal to a number of factors and, this number is called the complete number. All finished programming the number of output within 1000.

  5. Write applications, the output of the maximum positive integer satisfying 1 + 2 + 3 + ... + n <8888's.

  6. For the following cycle using FIG print (isosceles triangle)

first question

Experiment code

operating results

The second question

Experiment code

operating results

The third question

Experiment code

operating results

Fourth Question

Experiment Code

Guess you like

Origin www.cnblogs.com/yuhaner/p/11519791.html