更正

编程入门 行业动态 更新时间:2024-10-11 19:24:33
本文介绍了更正的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

aslamhe ... @ yahoo查看资料 更多选项9月18日,9:09 pm 新闻组:comp.lang.c ++ 来自:aslamhe ... @ yahoo 日期:星期二,2007年9月18日06:09:14 - 0700 当地时间:周二,2007年9月18日下午9:09 主题:嗨可以给我一个想法 回复|回复作者|转发|打印|个人信息|显示 原创|删除|报告此消息|通过这个找到消息 作者 下摆任何人都可以通过 循环给我一个关于如何使用saparated数字的想法 示例 请输入任意5位数字:56789 且输出为 5678 9 567 89 56 789 5 6789 huhu如何saparate那些digin huhuhu可以帮助???任何人? i更喜欢c中的代码..

解决方案

< as ******* *@yahoo写信息 新闻:11 ********************* @ k79g2000hse.googlegro ups ...

> aslamhe ... @ yahoo查看资料 更多选项9月18,9:09 pm 新闻组:comp.lang.c ++ 来自:aslamhe ... @ yahoo 日期:星期二,2007年9月18日06:09:14 -0700 当地时间:2007年9月18日星期二下午9:09 主题:嗨可以给我一点想法 回复|回复作者|转发|打印|个人信息|显示 原创|删除|报告此消息|通过这个找到消息 作者 下摆任何人都可以通过 循环给我一个关于如何使用saparated数字的想法 示例 请输入任意5位数字:56789 且输出为 5678 9 567 89 56 789 5 6789 huhu如何saparate那些digin huhuhu可以帮助???任何人? i更喜欢c代码..

这听起来像是家庭作业。你有什么尝试?你想要将数字视为字符串而不是数字。

作为******** @ yahoo 写道:

[ ...家庭作业...] i更喜欢c中的代码..

FAQ 5.2,其余的第5节,如何发布。 V - 请在回复时删除资金''A'通过电子邮件 我没有回复最热门的回复,请不要问

9月18日,9:14下午,Jim Langston < tazmas ... @ rocketmailwrote:

< aslamhe ... @ yahoowrote in message 新闻:11 ********************* @ k79g2000hse.googlegro ups ...

aslamhe ... @ yahoo查看资料 更多选项9月18日,9:09 pm

新闻组:comp.lang.c ++ 来自:aslamhe ... @ yahoo 日期:星期二,2007年9月18日06:09: 14 -0700 当地时间:2007年9月18日星期二下午9:09 主题:嗨可以给我一个想法 回复|回复作者|转发|打印|个人信息|显示 原创|删除|报告此消息|通过这个找到消息 作者 下午任何人都可以给我一个关于如何使用 循环

example

请输入任意5位数字:56789

和输出是 5678 9 567 89 56 789 5 6789

huhu如何saparate那些digin huhuhu可以帮助???任何人?

我更喜欢c中的代码..

这听起来像是家庭作业。你有什么尝试?你想要 将数字视为字符串而不是数字.-隐藏引用的文字 - - 显示引用的文字 -

我已经尝试使用for ...而且我使用int ...

aslamhe...@yahoo View profile More options Sep 18, 9:09 pm Newsgroups: comp.lang.c++ From: aslamhe...@yahoo Date: Tue, 18 Sep 2007 06:09:14 -0700 Local: Tues, Sep 18 2007 9:09 pm Subject: hi can give me idea Reply | Reply to author | Forward | Print | Individual message | Show original | Remove | Report this message | Find messages by this author hem anyone can give me an idea on how to saparated digits using looping example please key in any 5 digits number : 56789 and the ouput is 5678 9 567 89 56 789 5 6789 huhu how to saparate those digin huhuhu can help???anyone? i prefer code in c..

解决方案

<as********@yahoowrote in message news:11*********************@k79g2000hse.googlegro ups...

> aslamhe...@yahoo View profile More options Sep 18, 9:09 pm Newsgroups: comp.lang.c++ From: aslamhe...@yahoo Date: Tue, 18 Sep 2007 06:09:14 -0700 Local: Tues, Sep 18 2007 9:09 pm Subject: hi can give me idea Reply | Reply to author | Forward | Print | Individual message | Show original | Remove | Report this message | Find messages by this author hem anyone can give me an idea on how to saparated digits using looping example please key in any 5 digits number : 56789 and the ouput is 5678 9 567 89 56 789 5 6789 huhu how to saparate those digin huhuhu can help???anyone? i prefer code in c..

This sounds like homework. What have you tried? You''l want to treat/convert the digits as a string instead of a number.

as********@yahoo wrote:

[...homework...] i prefer code in c..

FAQ 5.2, and the rest of the section 5, like where to post. V -- Please remove capital ''A''s when replying by e-mail I do not respond to top-posted replies, please don''t ask

On Sep 18, 9:14 pm, "Jim Langston" <tazmas...@rocketmailwrote:

<aslamhe...@yahoowrote in message news:11*********************@k79g2000hse.googlegro ups...

aslamhe...@yahoo View profile More options Sep 18, 9:09 pm

Newsgroups: comp.lang.c++ From: aslamhe...@yahoo Date: Tue, 18 Sep 2007 06:09:14 -0700 Local: Tues, Sep 18 2007 9:09 pm Subject: hi can give me idea Reply | Reply to author | Forward | Print | Individual message | Show original | Remove | Report this message | Find messages by this author hem anyone can give me an idea on how to saparated digits using looping

example

please key in any 5 digits number : 56789

and the ouput is 5678 9 567 89 56 789 5 6789

huhu how to saparate those digin huhuhu can help???anyone?

i prefer code in c..

This sounds like homework. What have you tried? You''l want to treat/convert the digits as a string instead of a number.- Hide quoted text - - Show quoted text -

i''ve tried already by using for...and i use int...

更多推荐

更正

本文发布于:2023-11-22 06:11:22,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1616270.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!