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
10. Identify one material we Mine and what we make with that material
Katen [24]

Answer:

We Mine Limestone. Its used to make cement, toothpaste or paints, soil conditioner, and rip rap stone.

Explanation:

7 0
2 years ago
Problem 2
mamaluj [8]

Answer:

susmtqjqmjttqmjtqmjtmqutq

Explanation:

bakaf

fjgjgi5j6leny4mjtqjmu5tjmmwtjmjtj

8 0
2 years ago
6. Driving with parking lights only (in place of headlights) is against the law. A. True B. False
trasher [3.6K]

Answer:

B false it is illegal to only have got fog lights on though and bright headlights because it can distract other drivers going last and if the y are distracted then that will cause a collision

Hope this helps :)

Explanation:

4 0
3 years ago
Read 2 more answers
Easy POINTS computer genius help me plz
Norma-Jean [14]

Answer:

dedededededede

Explanation:

4 0
3 years ago
Resistance to impact is an example of a(n)
Anika [276]

Answer:

Mechanical property

Explanation:

MECHANICAL PROPERTIES can be defined as the ability of a metal or material to remain undamaged after different type of forces has been applied or used on them because forces or loads are often applied to metal, material or physical properties which is why MECHANICAL PROPERTIES enables us to know the strength , toughness as well as the hardness of metal and the way this metal perform or react when different forces are applied on them.

Lastly any metal, material or physical properties that has the strength , hardness and resistance to withstand or remain unaffected despite the loads or forces use on them is an example of MECHANICAL PROPERTIES.

Therefore Resistance to impact is an example of a(n) MECHANICAL PROPERTIES.

8 0
2 years ago
Other questions:
  • Two AAA-size lithium batteries are connected in series in a flashlight. Each battery has 3.5 volt and 4- Amp-hour capacity. If t
    8·1 answer
  • I need help!!! Because this is due
    14·2 answers
  • The water level in a large tank is maintained at height H above the surrounding level terrain. A rounded nozzle placed in the si
    9·1 answer
  • A piston–cylinder device contains 0.78 kg of nitrogen gas at 140 kPa and 37°C. The gas is now compressed slowly in a polytropic
    11·1 answer
  • Expert Review is done by end users.
    9·1 answer
  • The distribution of SAT scores of all college-bound seniors taking the SAT in 2014 was approximately normal with mean μ=1497 and
    12·1 answer
  • Technician A states that air tools generally produce more noise than electric tools, so wear ear protection when using air tools
    8·1 answer
  • I will mark brainliest.
    6·2 answers
  • Why the power factor is Low in no load test in induction motor ?​
    13·1 answer
  • The web page you created displays the time in the correct time zone for the user's location.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!