当前位置:首页
> Luz 第2938页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:1-2/3+3/5-4/7+5/9-6/11+...
Calculate the sum of the first n terms of the series 1-2/3+3/5-4/7+5/9-6/11+... ###Input format:Enter a positive integer…
PROGRAMMING:Two points form a line
It is said that two points determine a line, so the design of a line class line needs to be determined by two point obje…
PROGRAMMING:Input length, width, height, output cuboid volume. The data type used in the program is double.
###Input example:```in1.2,4.3,6.4```###Output example:```outthirty-three point zero two```answer:If there is no answer,…
PROGRAMMING:According to the input number, output the number of classes.
This topic requires reading in an integer between 1 and 7 (regardless of the input error), and then output the number of…
PROGRAMMING:Finding the power of 2
###Input example:```inzero point five```###Output example:```outpow(2,0.50)=1.41```answer:If there is no answer, please…
PROGRAMMING:Enter an integer and output the corresponding number of asterisks in a row.
###Input example:```infive```###Output example:```out*****```answer:If there is no answer, please comment…
PROGRAMMING:Program to add two fractions.
Input two fractions, such as 3 / 4 + 1 / 2, output 3 / 4 + 1 / 2 = 5 / 4.When running the program, as shown in the figur…
PROGRAMMING:Adjacent number pairs
Given n different integers, ask how many pairs of integers there are, and their values are exactly 1 different.###Input…
PROGRAMMING:Read in a 2-bit positive integer and output the sum and product of the numbers.
This topic requires reading in a 2-bit positive integer and outputting the sum and product of the numbers.###Input forma…
PROGRAMMING:Inquire about sb
There is a personnel array in which to query whether a person exists or not, the specific requirements are as follows: 1…