Write a java program that uses a whileloop to check for all

Assignment Help JAVA Programming
Reference no: EM131286109

Write a Java program that uses a while-loop to check for all numbers between 0 and 500 that are: 
(a): a multiple of 5 and 7 
(b): a multiple of 5 or 7 

The program should print in the format of the sample output below. 
Sample Output 
0 is a multiple of 5 or 7 
5 is a multiple of 5 or 7 
7 is a multiple of 5 or 7 
10 is a multiple of 5 or 7 
...etc... 
35 is a multiple of 5 and 7 
40 is a multiple of 5 or 7 
...etc... 

Reference no: EM131286109

Questions Cloud

Design an algorithm for computing vn for any positive : Design an algorithm for computing vn for any positive integer n. Besides assignment and comparison, your algorithm may only use the four basic arithmetical operations.
Identify a policy relevant to health care : You are a health care policy analyst for the local health department. Identify a policy relevant to health care from your state health department.
Ummarize each of the four sections of your capstone paper : A 7- to 8-slide PowerPoint-style presentation with audio that summarizes each of the four sections of your Capstone Paper. Use the PowerPoint record feature within the PowerPoint program to narrate your slides.
Common security weaknesses inherent in unix or linux : Question A: What are some of the common security weaknesses inherent in Unix or Linux based systems and what techniques can be used to harden these systems against an attack?
Write a java program that uses a whileloop to check for all : Write a Java program that uses a while-loop to check for all numbers between 0 and 500 that are:
Estimate created by senior management : Why is the cost estimate generated by the project team likely to be different from the cost estimate created by senior management?
Explain the image using the four visual cues : Choose one of their works. Analyze the image using the four visual cues from your reading: color, form, depth, and movement. Explain how the artist makes use of these four cues.
Anshu correctly remembers that his sisters bday is before : Anshu correctly remembers that his sister's b'day is before 20th but after 15th Oct. but her father correctly remembers that his daughter's b'day is before 17th Oct. Anshu's sister's b'day falls on which day?
Communication techniques and professionalism : Summarize the process of addressing prohibited content/activity, and explain privacy, licensing, and policy concepts. Describe proper communication techniques and professionalism when working with users.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd