当前位置:首页
> Luz 第3001页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Function returns whether an integer is palindrome
Write a function to return whether the formal parameter (a positive integer) is palindrome number (number with the same…
PROGRAMMING:Function returns the inverse ordinal of an integer
Write a function to return the inverse ordinal of a formal parameter (a positive integer). The main function is: input a…
PROGRAMMING:Function to return whether an integer is complete
Write a function to return whether the formal parameter (a positive integer) is a complete number. The main function is:…
PROGRAMMING:Function returns whether a date is a legal date
Write a function. The formal parameter is three integers representing month, year and day. The function returns whether…
PROGRAMMING:Function returns whether a date is palindrome date
Write a function that returns whether a date is palindrome date. Palindrome date should be legal date first, and then th…
PROGRAMMING:Recursive factorial
Input a positive integer n value (n does not exceed 20), programming output n( N). Please define the integer in the prog…
PROGRAMMING:Write a function to output a decimal integer in binary form
Write function, function parameter is integer n, in the function output integer N binary form. The main function inputs…
PROGRAMMING:Recursive function for finding the maximum divisor by Division
Write a function. The formal parameters of the function are two positive integers a and B. the function returns the grea…
PROGRAMMING:Recursive realization of continuous integer sum function
Write a function whose formal parameters are two integers a and B (0 ˂ a ˂ = b), and return the sum of all integers betw…
PROGRAMMING:Recursive implementation of the n-th item of Fibonacci sequence
Write a function to return the value of the nth item of Fibonacci sequence, which is realized by recursive method. In th…