Question: java please Objectives To use selection statements To use repetition statement Problem Specification Skip by 7s and 9s 1. Generate n numbers between -100 and

java please

Objectives

  • To use selection statements
  • To use repetition statement

Problem Specification

Skip by 7s and 9s

1. Generate n numbers between -100 and 100.

2. If the value is multiple of 7 or 9, replaced by *

3. Then change to new line after the multiple of 7 or 9 is appeared

Design Specification

  • Use if
  • Use if else
  • Use while

example output

java please Objectives To use selection statements To use repetition statement Problem

How many number: 50 ================================== Result =========== 80 -52 * 20 -2 86 * -19 -10 17 * -83 43 * -78 40 61 -16 -4 -37 * -51 44 61 -24 -47 16 67 12 -23 -76 -19 51 -64 * 1 * -43 -22 -37 * 65 -92 * 31 74 *

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!