当前位置:首页
> Luz 第2662页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Program and product dog
In a company, programmers often have a bunch of todolings to do, and these todolings are assigned to them by product man…
PROGRAMMING:What is the date of the year
Define a date class date, which contains data member year, month and day, and member function: constructor is used to in…
PROGRAMMING:Processing time of beverage
A tea bar offers three kinds of drinks: tea, coffee and milk. The processing time of local tea is 50 seconds and that of…
PROGRAMMING:Declare the cuboid class, add a new member variable: weight, and add a function to calculate the surface area of the cuboid.
Define a cuboid class, which has three attributes of length, width and height, and a function to calculate volume; To de…
PROGRAMMING:Declare the book class, record the total number of books, use the static variable assignment.
Declare a Book class, whose data members are book name, number (using static variables to realize automatic numbering) a…
PROGRAMMING:Define classname interface, design class company, and realize the function of getting class name
Define a classname interface with only one abstract method getclassname(); Design a class company, which implements the…
PROGRAMMING:Copy source code
Write the program and copy the source code of the program file to the "temp. TXT" file in the directory where the progra…
PROGRAMMING:Output month
Using if and switch to write the program fragment that converts the integer from 0 to 11 into December, assuming that th…
PROGRAMMING:The odd number array within 20 is stored in reverse order and output.
There is an array of integers, which stores the sequence of 1, 3, 5, 7, 9, 11, 13, 15, 17, 19. The sequence is stored in…
PROGRAMMING:Definition and use of class
Define a date class with data members year, month and day, representing year, month and day respectively, and several me…