首页 > TAG信息列表 > M2021

中M2021春C、Java入门练习第I段——变量、表达式、分支、循环99-105

7-99 打印九九口诀表 (15 分) 下面是一个完整的下三角九九口诀表: 11=1 12=2 22=4 13=3 23=6 33=9 14=4 24=8 34=12 44=16 15=5 25=10 35=15 45=20 55=25 16=6 26=12 36=18 46=24 56=30 66=36 17=7 27=14 37=21 47=28 57=35 67=42 77=49 18=8 28=16 38=24 48=32 58=40 68=48 7

中M2021春C、Java入门练习第I段——变量、表达式、分支、循环127-133

7-127 Sum of the digits (6 分) Given a none-negative number, print out the sum of its digits. Input Format: A none-negative integer number. Output Format: The sum of its all digits. Sample Input: 123 结尾无空行 Sample Output: 6 结尾无空行 #include<stdio.

中M2021春C、Java入门练习第I段——变量、表达式、分支、循环

7-30 念数字 (15 分) 输入一个整数,输出每个数字对应的拼音。当整数为负数时,先输出fu字。十个数字对应的拼音如下: 0: ling 1: yi 2: er 3: san 4: si 5: wu 6: liu 7: qi 8: ba 9: jiu 输入格式: 输入在一行中给出一个整数,如:1234。 提示:整数包括负数、零和正数。 输出格式: 在一行