当前位置:首页
> Luz 第2818页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Chinese remainder theorem
For a batch of items, if a is packed in a box, R1 items will be left; if B is packed in a box, R2 items will be left. Fi…
PROGRAMMING:Square root formatting
requirement:Obtain an integer a input by the user, calculate the square root of a, reserve 3 decimal places, and print o…
PROGRAMMING:Statistical character
Counts the number of occurrences of the specified character in a given string.###Input format:The test input contains se…
PROGRAMMING:Hangzhou step price
Hangzhou implements one household, one meter and ladder electricity price system: if the monthly consumption exceeds 230…
PROGRAMMING:You're a college student
Input and output: prompt user to input name (prompt message is: "please input your name)"), output display: so and so is…
PROGRAMMING:Time Difference
What is the time difference between 10:30 and 11:45?Your program reads two time spots and prints the time difference bet…
PROGRAMMING:Sum of the digits
Given a none-negative number, print out the sum of its digits.### Input Format:A none-negative integer number.### Output…
PROGRAMMING:Reversed 3-Digit-Number
Your program reads a positive 3-digit-number in and prints the digits in reversed order. There should not be any leading…
PROGRAMMING:cm2inch
Given $$foot$$ and $$inch$$, the meter is $$(foot+inch/12)\times 0.3048$$.What sould be the feet and inches for an input…
PROGRAMMING:Averaging with one dimensional arrays
This topic requires the use of one-dimensional array, storage of 5 integers, the average output of 5 integers.###Input f…