添加1到1000之间数字的Java程序 [英] Java program that adds the numbers between 1 and 1000

查看:195
本文介绍了添加1到1000之间数字的Java程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何编写一个java程序,添加1到1000之间的数字,但跳过300和500这方面的任何帮助我会非常感谢


谢谢你

how do i wright a java program that adds the numbers between 1 and 1000 but skips 300 and 500 any help on this matter i would greatly appreciate

thank you

推荐答案

本网站的专家非常乐意帮助您解决问题,但他们无法为您完成任务/计划。首先尝试自己的作业/计划并发布有关您遇到的任何困难或有关您不知道如何实现的特定代码功能的问题。


请阅读< a href =http://www.thescripts.com/forum/faq.php?faq=posting_guidelines\"target =_ blank>发布指南,特别是课程作业发布指南


然后当你准备好发布一个新的这个帖子中的问题。


MODERATOR
The experts on this site are more than happy to help you with your problems but they cannot do your assignment/program for you. Attempt the assignment/program yourself first and post questions regarding any difficulties you have or about a particular function of the code that you don''t know how to achieve.

Please read the Posting Guidelines and particularly the Coursework Posting Guidelines.

Then when you are ready post a new question in this thread.

MODERATOR


请记住为任何已启动的线程提供有意义的标题(请参阅FAQ条目使用好主题标题)。


这有助于确保其他成员以及普通公众更有可能找到一个任何类似问题的答案。


MODERATOR
Please remember to provide a meaningful Title for any threads started (see the FAQ entry Use a Good Thread Title).

This helps to ensure that other members, and also the general public, will have a better chance of finding answers to any similar questions.

MODERATOR



我如何怀疑一个java程序添加1到1000之间的数字,但跳过300和500这方面的任何帮助我将非常感谢


谢谢
how do i wright a java program that adds the numbers between 1 and 1000 but skips 300 and 500 any help on this matter i would greatly appreciate

thank you



你知道如何在不跳过这两个数字的情况下添加这些数字吗?

请告诉我们一些代码,因为我们没有为你做这些。


亲切的问候,


Jos

Do you know how to add those numbers *without* skipping those two numbers?
Please show us some code because we''re not doing it for you.

kind regards,

Jos


这篇关于添加1到1000之间数字的Java程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆