当前位置:首页
> Luz 第2722页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Finding the sum of the first n terms of the n-th interleaved sequence
Enter a positive integer n to calculate the sum of the first n terms of the sequence 1 - 1 / 2 + 1 / 3 - 1 / 4 +... To t…
PROGRAMMING:KK rumors
KK, a stockbroker, wants to spread a rumor among a group of people (the number of n people is 0 ~ n-1). The rumor is onl…
PROGRAMMING:bubble sort
Input a positive integer n (1 ˂ = n ˂ = 10), and then input n integers and store them in the array. Sort these n integer…
PROGRAMMING:Exterminate the evil cult
After destroying the branch helm of the cult, Yang Fan, a knight errant of the five elements, put forward a proposal: se…
PROGRAMMING:Magicpig escape
There's a big room in the pyramid called room of no return. Unfortunately, magicpig is trapped in this room now. There a…
PROGRAMMING:Conversion of decimal string to decimal integer
Input a string ending with #, filter out all the non - dodecal characters (regardless of case) to form a new string repr…
PROGRAMMING:Output two lines of short sentences
Two short sentences "programming is fun." and "programming in C is even more fun!" are displayed on the screen, One sent…
PROGRAMMING:Class definition and object usage
Please define a student class, including student number, name and age (7-60 years old). After inputting the student's me…
PROGRAMMING:Fun graphics
The definition of a given graphical interface is as follows:interface Shape{float getArea();// Calculate the area float…
PROGRAMMING:Factorial problem
Input a positive integer n, output n!.###Input format:The input gives a positive integer n in one line.###Output format:…