1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
alexgriva [62]
3 years ago
11

import java.util.Scanner; public class FindSpecialValue { public static void main (String [] args) { Scanner scnr = new Scanner(

System.in); int specialNum; specialNum = scnr.nextInt(); if (specialNum ) { System.out.println("Special number"); } else { System.out.println("Not special number"); } }
Engineering
1 answer:
Hitman42 [59]3 years ago
7 0

Answer:

Java program explained below

Explanation:

FindSpecialNumber.java

import java.util.Scanner;

public class FindSpecialNumber {

public static void main(String[] args) {

//Declaring variable

int number;

/*

* Creating an Scanner class object which is used to get the inputs

* entered by the user

*/

Scanner sc = new Scanner(System.in);

//getting the input entered by the user

System.out.print("Enter a number :");

number = sc.nextInt();

/* Based on user entered number

* check whether it is special number or not

*/

if (number == -99 || number == 0 || number == 44) {

System.out.println("Special Number");

} else {

System.out.println("Not Special Number");

}

}

}

_______________

Output#1:

Enter a number :-99

Special Number

Output#2:

Enter a number :49

Not Special Number

You might be interested in
ILL GIVE YOU BRAINLIEST PLEASE HELP PLEASE
Lesechka [4]

Answer:

try to pop it back in good luck im scared for you

4 0
3 years ago
How are the accelerator and brake pedal positioned in relation to each other? A. The brake pedal is to the right of the accelera
Lunna [17]

Answer:B

Explanation:

7 0
3 years ago
If particleboard is used as wall sheathing, the grade mark with type _____ or _____ should be stamped on it.
kramer

If particleboard is used as wall sheathing, the grade mark with type M1 or M2 should be stamped on it.

<h3>What is particle board?</h3>

Particle board is notably used as floors underlayment or as a base for parquet floors, timber floors, or for carpets. For this purpose, the particle forums are dealt with with unique chemical compounds and resins to cause them to water-resistant or termite proof.

Waferboard, OSB, and composite plywood, while carried out as wall sheathing, offer a nail base for software of shingle siding.

Read more about the sheathing:

brainly.com/question/5029827

#SPJ1

8 0
2 years ago
The dot plot shows the number of cupcakes bought by each person who came to a bake sale.
Maslowich

The true statement about the dot plot is 1 has 4 and 0 dots.

Explanation:

  • after creating a Bar chart 4 is the right answer.
  • The highest among st all the other plots is 1 but 4 shows 3.
  • Taking an average from all the data points 3 comes to the right answer.
  • Median the central Mid-point is 3.
  • Mode also comes to 3.
  • It is skewed on the right due to the 1st one.
  • Skewed shows the data point either increasing or in decreasing.
  • There a to Bi- histograms which has two ups and downs.
  • The true statement has to be as Mean=Median=Mode is 3.

6 0
3 years ago
Astronauts who landed on the moon during the Apollo 15, 16, and 17 missions brought back a large collection of rocks to the eart
stiks02 [169]

Answer: a) W(earth) = 935.62 lbs

b) Mass of rocks in slugs = 29.06 slugs

Explanation:

a) From Newton's law, W = mg. Whether on the moon or on earth. Although, the mass of the rocks everywhere is the same, that is, mass of rocks on the moon = mass of rocks on earth.

W(moon) = mg(moon)

W(moon) = 154 lbs

g(moon) = 5.30 ft/s2

m = W(moon)/g(moon) = 154/5.3 = 29.06 lb.s2/ft

W(earth) = m g(earth)

g(earth) = 32.2 ft/s2

W(earth) = 29.06 × 32.2 = 935.62 lbs.

b) A slug = 1 lb.s2/ft, therefore the mass of the rocks in slugs is 29.06 slugs.

QED!

8 0
3 years ago
Other questions:
  • "A communication between two devices is over the maximum limit of an ethernet frame size. The Transmission Control Protocol (TCP
    5·1 answer
  • cThe Mars Rover Spirit got stuck in the Martian sand. The wheels kept slipping. Attempts to free it were futile. Discuss the typ
    7·1 answer
  • Practice Problem: True Stress and Strain A cylindrical specimen of a metal alloy 49.9 mm long and 9.72 mm in diameter is stresse
    13·1 answer
  • A silicon carbide plate fractured in bending when a blunt load was applied to the plate center. The distance between the fractur
    11·1 answer
  • A 2.5 m wide rough continuous foundation is placed in the ground at 1 m depth. There is bedrock present at 1 m depth below the b
    12·1 answer
  • British standered institution
    5·1 answer
  • Steel riverts in aluminium drain gutters leak after two years. is it galvanic corrosion? ​
    5·1 answer
  • Why is data driven analytics of interest to companies?
    9·1 answer
  • Engineering practices include which of the following? Select all that apply.
    10·1 answer
  • 7–2 Cooling of a Hot Block by Forced Air at High
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!