Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions