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
Radioactive wastes are temporarily stored in a spherical container, the center of which is buried a distance of 10 m below the e
a_sh-v [17]

Answer:

Outside temperature =88.03°C

Explanation:

Conductivity of air-soil from standard table

   K=0.60 W/m-k

To find temperature we need to balance energy

Heat generation=Heat dissipation

Now find the value

We know that for sphere

q=\dfrac{2\pi DK}{1-\dfrac{D}{4H}}(T_1-T_2)

Given that q=500 W

so

500=\dfrac{2\pi 2\times .6}{1-\dfrac{2}{4\times 10}}(T_1-25)

By solving that equation we get

T_2=88.03°C

So outside temperature =88.03°C

6 0
3 years ago
What should you release to re-establish vehicle control and tire traction?
MrMuchimi

Answer: The accelerator and the brakes.

6 0
2 years ago
The component of a regenerative vapor power cycle that permits only liquid to pass through to a region of lower pressure is a?
Zepler [3.9K]

The component of a regenerative vapor power cycle that permits only liquid to pass through to a region of lower pressure is a Valve/trap.

<h3>What is vapor?</h3>
  • In physics, a substance in the gas phase at a temperature lower than its critical temperature is referred to as a vapor or vapor.
  • This means that the vapor can be condensed to a liquid by increasing the pressure on it without decreasing the temperature.
  • An aerosol is distinct from a vapor.
  • A suspension of minute liquid, solid, or both types of particles in a gas is known as an aerosol.
<h3>Why does vapor form?</h3>
  • Evaporation or sublimation are two processes that can be used to create it.
  • Unlike clouds, fog, or mist, which are only suspended drops of liquid water in the atmosphere, watevaporur is a gas and cannot be seen.
  • In the atmosphere, water vapor frequently exists below the boiling point.

Learn more about vapor here:

brainly.com/question/14578189

#SPJ4

3 0
1 year ago
A design team is working on creating a new locker organizer. They have
astraxan [27]
A. Present a Solution
8 0
3 years ago
What advanced safety features are now standard on 2023 Z?
Anettt [7]

The advanced safety features that are now standard on 2023 Z are:

  • Pedestrian Detection and Automatic Emergency Braking
  • Intelligent Forward Collision Warning (IFCW).
  • Blind Spot Alert.

<h3>What is 2023 Z?</h3>

The above is the short name or nickname for the All New 2023 Nissan Z coupe Sports car.

The care also features Advanced driver assist and safety technology which relieves the driver's everyday workload, allowing you to focus on what matters most.

Learn more about safety features in cars:
brainly.com/question/24078882
#SPJ1


3 0
2 years ago
Other questions:
  • ¿Cuál era probablemente el activo más valioso de Persia?
    10·2 answers
  • A 15-ft beam weighing 570 lb is lowered by means of two cables unwinding from overhead cranes. As the beam approaches the ground
    9·1 answer
  • Hydrogen gas (density = 1.165 kg/m^3 ) is stored at 25°C in a permeable cylindrical container which has an outer diameter of 0.2
    11·1 answer
  • Always refill your gas tank well before
    6·1 answer
  • What camera battery does the canon 250d use?
    15·2 answers
  • The complexity of bfs and dfs
    11·1 answer
  • Engineering practices include which of the following? Select all that apply.
    10·1 answer
  • Shane's 100-watt radio draws 7 amps of current on a 120-volt circuit. What is the resistance in the radio?
    8·1 answer
  • What is Join..?? Explain different types of joins.
    10·1 answer
  • Dampness or moisture introduces ____ into the weld, which causes cracking when some metals are welded.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!