注册 登录
编程论坛 C语言论坛

这个C代码如何写 真不会求大神

AllCY 发布于 2021-10-17 18:10, 1449 次点击
根据下面的输出编写C代码。要使用while循环(一个while循环到另一个while中)下面是几个例子。
输入数字:23

操作后:
剩余数
————————
3 2
2 0
这个数总计是5
-1停止,继续另外的:1
输入数字:45
操作后:
剩余数
————————
5 4
4 0
这个数总计是9
-1停止,继续另外的:1
输入数字:5
操作后:
剩余数
————————

5 0
这个数总计是5
-1停止,继续另外的:2



[此贴子已经被作者于2021-10-17 18:15编辑过]

4 回复
#2
吹水佬2021-10-17 18:38
int % 10
int / 10
#3
自由而无用2021-10-17 18:42
hey, kiddo~, dont be sad, programming isnt everything of your life, if you dont like it, just leave it away
its not a big deal to learn how to program, just do what the fuck you wanna do, thats my mind
#4
AllCY2021-10-17 18:56
回复 3楼 自由而无用
yoo bor,I agree. but it can bring you money, who will refuse money
#5
AllCY2021-10-17 18:57
回复 2楼 吹水佬
这是啥意思啊
#6
自由而无用2021-10-17 19:02
回复 4楼 AllCY
well, you have a good brain, however have fun here
#7
AllCY2021-10-17 20:44
回复 6楼 自由而无用
I can’t write this code. This is not fine,bor
#8
自由而无用2021-10-17 21:14
回复 7楼 AllCY
just like you said, everyone likes money, yep and errrrr......
its very very easy to find a paid-c program-writer from the internet as long as you are willing to be a patreon
you paid, you got an advanced service
damn it! I forgot this
BCCN vip service: https://www.

[此贴子已经被作者于2021-10-17 21:17编辑过]

1