-->
当前位置:首页 > Luz 第2818页
Luz

Luz 管理员

暂无介绍

89860 篇文章 33 次评论

PROGRAMMING:Chinese remainder theorem

Luz5年前 (2021-05-10)463
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

Luz5年前 (2021-05-10)427
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

Luz5年前 (2021-05-10)328
Counts the number of occurrences of the specified character in a given string.###Input format:The test input contains se…

PROGRAMMING:Hangzhou step price

Luz5年前 (2021-05-10)479
Hangzhou implements one household, one meter and ladder electricity price system: if the monthly consumption exceeds 230…

PROGRAMMING:You're a college student

Luz5年前 (2021-05-10)423
Input and output: prompt user to input name (prompt message is: "please input your name)"), output display: so and so is…

PROGRAMMING:Time Difference

Luz5年前 (2021-05-10)541
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

Luz5年前 (2021-05-10)342
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

Luz5年前 (2021-05-10)681
Your program reads a positive 3-digit-number in and prints the digits in reversed order. There should not be any leading…

PROGRAMMING:cm2inch

Luz5年前 (2021-05-10)555
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

Luz5年前 (2021-05-10)386
This topic requires the use of one-dimensional array, storage of 5 integers, the average output of 5 integers.###Input f…