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
You are working as an electrical technician. One day, out in the field, you need an inductor but cannot find one. Looking in you
telo118 [61]

Answer:

a) the inductance of the coil is 6 mH

b) the emf generated in the coil is 18 mV  

Explanation:

Given the data in the question;

N = 570 turns

diameter of tube d = 8.10 cm = 0.081 m

length of the wire-wrapped portion l =  35.0 cm = 0.35 m

a) the inductance of the coil (in mH)

inductance of solenoid

L = N²μA / l

A = πd²/4  

so

L = N²μ(πd²/4) / l

L = N²μ(πd²) / 4l

we know that μ = 4π × 10⁻⁷ TmA⁻¹

we substitute

L = [(570)² × 4π × 10⁻⁷× ( π × (0.081)² )] / 4(0.35)

L =  0.00841549 / 1.4

L = 6 × 10⁻³ H    

L = 6 × 10⁻³ × 1000 mH

L = 6 mH

Therefore, the inductance of the coil is 6 mH

b)

Emf ( ∈ ) = L di/dt

given that; di/dt = 3.00 A/sec

{∴ di = 3 - 0 = 3 and dt = 1 sec}

Emf ( ∈ ) = L di/dt

we substitute

⇒ 6 × 10⁻³ ( 3/1 )

= 18 × 10⁻³ V

= 18 × 10⁻³ × 1000

= 18 mV  

Therefore, the emf generated in the coil is 18 mV  

7 0
3 years ago
3. This material is considered flammable.
almond37 [142]

Answer:

All of the above

Explanation:

Most of materials are flammable because of the chemicals theyre made up of.  Most materials that are bought say to keep them at room temature for a reason.

4 0
2 years ago
Read 2 more answers
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
4 years ago
Explain why it is not advisable to wear Ornament like ring at work shop​
disa [49]

The reason that it is not advisable to wear Ornament like ring at work shop​ is that rings can be easily get caught and fingers or the hands of the person can be injured, cut, scared etc.

<h3>Why should you not wear a ring at work?</h3>

Jewelry is known to bring about a lot of safety hazards for people working around chemicals and others.

Note that the reason that it is not advisable to wear Ornament like ring at work shop​ is that rings can be easily get caught and fingers or the hands of the person can be injured, cut, scared etc.

Learn more about Ornament from

brainly.com/question/24286720

#SPJ1

8 0
2 years ago
8. The operation of a TXV is controlled by the
Katena32 [7]
Answer should be C hopefully
4 0
3 years ago
Other questions:
  • A thin‐walled tube with a diameter of 12 mm and length of 25 m is used to carry exhaust gas from a smoke stack to the laboratory
    10·1 answer
  • A bridge to be fabricated of steel girders is designed to be 500 m long and 12 m wide at ambient temperature (assumed 20°C). Exp
    9·1 answer
  • A surveyor is trying to find the height of a hill . he/she takes a sight on the top of the hill and find that the angle of eleva
    12·1 answer
  • The entire population of a given community is examined, and all who are judged to be free from bowel cancer are questioned exten
    12·1 answer
  • Steam flows steadily through an adiabatic turbine. The inlet conditions of the steam are 10 MPa, 450°C, and 80 m/s, and the exit
    11·1 answer
  • An aircraft is in a steady level turn at a flight speed of 200 ft/s and a turn rate about the local vertical of 5 deg/s. Thrust
    8·1 answer
  • 5 kg of a wet steam has a volume of 2 m3
    8·1 answer
  • Please what is dif<br>ference between building technology and building engineering.​
    14·2 answers
  • Choose the correct word or phrase to complete the sentence to explain human intervention in a machine system.
    13·1 answer
  • In a wheatstone bridge three out of four resistors have of 1K ohm each ,and the fourth resistor equals 1010 ohm. If the battery
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!