当前位置:首页
> Luz 第2731页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Judge whether an integer n can be divided by 3 and 5
Judge whether an integer n can be divided by 3 and 5. If it can be divided by 3 and 5, output yes, otherwise output No##…
PROGRAMMING:String input exercise
Calculates the length of the string.###Input format:One string per line.###Output format:For each line of string, output…
PROGRAMMING:Average score
###Input format:Enter 5 integers to indicate the scores of 5 courses.Input to the end of the file.###Output format:The o…
PROGRAMMING:Leap year judgment
Leap year judgment, the rule is that the year can be divided by 4 but not 100, or the year can be divided by 400 is leap…
PROGRAMMING:Minimum value
Find the minimum.###Input format:Enter 2 integers.Input to end of file###Output format:The output content is the minimum…
PROGRAMMING:Simple maximum
Find the largest of three integers.###Input format:Enter three integers a, B, C.###Output format:The output content is t…
PROGRAMMING:Grade conversion
It is required to output grades of "a", "B", "C", "d" and "e".90 or above is "a", 80-89 is "B", 70-79 is "C", 60-69 is "…
PROGRAMMING:Find the absolute value
Find the absolute value of a real number.###Input format:There are several groups of input data, each group occupies a r…
PROGRAMMING:Exchange elements
Exchange elements###Input format:The input data first contains an integer T, which represents the number of test cases,…
PROGRAMMING:Case conversion
Case conversion.###Input format:Input several English letters to the end of the file.###Output format:If the input Engli…