当前位置:首页
> Luz 第2812页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Date calculation*
Today's date is known. Please calculate what the date will be in a few days.Explanation: suppose today's date is $$y_ 1…
PROGRAMMING:Find the sum of even numbers from 1 to positive integer n
Find the sum of even numbers from 1 to positive integer n, and wrap the output line.###Input format:Enter a positive int…
PROGRAMMING:Find the sum of the numbers from 1 to n which can be divided by 7
Find the sum of the numbers that can be divided by 7 from 1 to positive integer n, and wrap the output line.###Input for…
PROGRAMMING:Calculate the sum of the numbers from 1 to n divisible by 3
Find the sum of the numbers that can be divided by 3 from 1 to positive integer n, and wrap the output line.###Input for…
PROGRAMMING:Output in sequence
This topic requires reading in three integers a, B, C, and then output in the order from small to large.###Input format:…
PROGRAMMING:Input three integers, find out the minimum value and output
Input three integers, find out the minimum value and output.###Input format:Enter three positive integers separated by a…
PROGRAMMING:Calculate the perimeter of a rectangle
Input the length and width of the rectangle, program its perimeter and output.###Input format:Enter two integers separat…
PROGRAMMING:Calculate the area of a square
Input the side length of the square, program its area and output.###Input format:Enter an integer side length.###Output…
PROGRAMMING:Calculate the area of a circle
Input the radius of the circle, program its area and output.Note: Pi is 3.1415926###Input format:Enter the radius of the…
PROGRAMMING:Calculate the area of a rectangle
Input the length and width of the rectangle, program its area and output.###Input format:Enter the length and width of t…