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
Which type of container traps the most heat a shoe box covered in aluminum foil plastic wrap or wax paper?
Aliun [14]

Answer:

shoe box covered in aluminum foil

5 0
3 years ago
A small hot surface at temperature Ti-430K having an emissivity 0.8 dissipates heat by radiation into a surrounding area at T2-4
Nat2105 [25]

Answer:

389.6 W/m²

Explanation:

The power radiated to the surroundings by the small hot surface, P = σεA(T₁⁴ - T₂⁴) where σ = Stefan-Boltzmann constant = 5.67 × 10⁻⁸ W/m²-K⁴, ε = emissivity = 0.8. T₁ = temperature of small hot surface = 430 K and T₂ = temperature of surroundings = 400 K

So, P = σεA(T₁⁴ - T₂⁴)

h = P/A = σε(T₁⁴ - T₂⁴)  

Substituting the values of the variables into the equation, we have

h = 5.67 × 10⁻⁸ W/m²-K⁴ × 0.8 ((430 K )⁴ - (400 K)⁴)  

h = 5.67 × 10⁻⁸ W/m²-K⁴ × 0.8 (34188010000 K⁴ - 25600000000 K⁴)  

h = 5.67 × 10⁻⁸ W/m²-K⁴ × 0.8 × 8588010000K⁴

h = 38955213360 × 10⁻⁸ W/m²

h = 389.55213360 W/m²

h ≅ 389.6 W/m²

5 0
3 years ago
A diagonal aluminum alloy tension rod of diameter d and initial length l is used in a rectangular frame to prevent collapse. The
Ksenya-84 [330]

Answer:

\Delta L = 0.1883 inch

Explanation:

Given data:

d = 0.5 inch

L_i = 8 ft

\sigma_{allow} = 20  kpsi

we know that change in length is given as

\Delta L = \frac{PL}{AE}

              = \frac{P}{A}\times \frac{L}{E}

              = \sigma_{allow} \times \frac{L}{E}

modulus of elasticity E for aluminium alloy is 10.2 \times 10^6 psi = 10.2 \times 10^3 kpsi

\Delta L = \frac{20 \times 8}{10.2\times 10^3}

\Delta L = 0.01569 ft

\Delta L = 0.1883 inch

6 0
3 years ago
What is the function of deaerator in thermal power plant? ​
avanturin [10]

Answer:

The function of the Deaerator is to remove dissolved non-condensable gases and to heat boiler feed water.

Explanation:

3 0
3 years ago
It’s busy at the bakery counter , and a loyal customer / member stops you to charge as he talking , you notice another customer
allsm [11]

The Most likely scenario is to: Tell him that you will be happy to continue talking with him right after you help the other customer or the member.

The Least likely is to: Interrupt to ask if there is anything you can help him with today.

<h3>What is a likely scenario?</h3>

The scenario is known to be one when a person  talk about a likely or possible event that can take place.

Here, the person is talking about the way in which an event can or may develop.

Note therefore, based on the above, The Most likely scenario is to: Tell him that you will be happy to continue talking with him right after you help the other customer or the member. While the Least likely is to: Interrupt to ask if there is anything you can help him with today.

Learn more about Most likely scenario from

brainly.com/question/24141565

#SPJ1

6 0
1 year ago
Other questions:
  • What are primary and secondary super-heaters?
    9·1 answer
  • Is it possible to maintain a pressure of 10 kpa in a condenser that is being cooled by river water entering at 20 C.?
    7·1 answer
  • Air is compressed in the compressor of a turbojet engine. Air enters the compressor at 270 K and 58 kPa and exits the compressor
    13·1 answer
  • How does the "E" in STEM work with the other letters
    14·1 answer
  • If you are trying to land the plane, which part(s) would you move? How would you move it/them?
    7·1 answer
  • Might give brainliest
    8·1 answer
  • Which of the following would NOT fall into one of the WHMIS 1988 classes?
    11·2 answers
  • After adjusting your seat, your___ should be as closest possible to the back rest.
    14·1 answer
  • 2. BCD uses 6 bits to represent a symbol. a) True b) False​
    9·1 answer
  • A liquid jet vj of diameter dj strikes a fixed cone and deflects back as a conical sheet at the same velocity. find the cone ang
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!