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]
2 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]2 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
Javier’s class visited a power plant near his city, and they learned how it produced electricity. What does this form of power d
adelina 88 [10]

The electricity is generated by the burning of fuel in the power plant that increases the kinetic energy of water vapor which rotates the turbine and shaft of the generator.

<h3>What is a power plant?</h3>

A power plant is a place where heavy machinery objects are installed to produce electricity.

The power is generated in the power plant with the help of the burning of fuel that increases the temperature of the boiler. There are so many tubes in which water is present. Water absorbs heat and increases its kinetic energy. And this kinetic energy help to rotate the turbine and the shaft of the generator is attached to the turbine as result electricity is generated.

More about the power plant link is given below.

brainly.com/question/7670779

#SPJ4

5 0
2 years ago
A small pad subjected to a shearing force is deformed at the top of the pad 0.08 in. The height of the pad is 1.38 in. What is t
Aleksandr-060686 [28]

Answer:

The shear strain is 0.05797 rad.

Explanation:

Shear strain is the ratio of change in dimension along the shearing load direction to the height of the plate under application of shear load. Width of the plate remains same. Length of the plate slides under shear load.

Step1

Given:

Height of the pad is 1.38 in.

Deformation at the top of the pad is 0.08 in.

Calculation:

Step2

Shear strain is calculated as follows:

tan\phi=\frac{\bigtriangleup l}{h}

tan\phi=\frac{0.08}{1.38}

tan\phi= 0.05797

For small angle of \phi, tan\phi can take as\phi.

\phi = 0.05797 rad.

Thus, the shear strain is 0.05797 rad.

7 0
2 years ago
A 1000-turn coil of wire 1.0 cm in diameter is in a magnetic field that increases from 0.10 T to 0.30 T in 10 ms. The axis of th
ddd [48]

emf generated by the coil is 1.57 V

Explanation:

Given details-

Number of turns of wire- 1000 turns

The diameter of the wire coil- 1 cm

Magnetic field (Initial)= 0.10 T

Magnetic Field (Final)=0.30 T

Time=10 ms

The orientation of the axis of the coil= parallel to the field.

We know that EMF of the coil is mathematically represented as –

E=N(ΔФ/Δt)

Where E= emf generated

ΔФ= change inmagnetic flux

Δt= change in time

N= no of turns*area of the coil

Substituting the values of the above variables

=1000*3.14*0.5*10-4

=.0785

E=0.0785(.2/10*10-3)

=1.57 V

Thus, the emf generated is 1.57 V

4 0
3 years ago
Find the mechanical average of a wheel axle System of the wheel has a radius of 1.5 feet in the accident has a radius of 6 inche
kvasek [131]

Answer:

Mechanical average of a wheel = 3

Explanation:

Given:

Radius of wheel = 1.5 ft = 1.5 x 12 = 18 inches

Radius of axle = 6 inches

Find:

Mechanical average of a wheel

Computation:

Mechanical average of a wheel = Radius of wheel / Radius of axle

Mechanical average of a wheel = 18 / 6

Mechanical average of a wheel = 3

4 0
3 years ago
Air enters a diffuser operating at steady state at 540°R, 15 lbf/in.2, with a velocity of 600 ft/s, and exits with a velocity of
yKpoI14uk [10]

Answer: Hello the question is incomplete below is the missing part

Question:  determine the temperature, in °R, at the exit

answer:

T2= 569.62°R

Explanation:

T1 = 540°R

V2 = 600 ft/s

V1 = 60 ft/s

h1 = 129.0613  ( value gotten from Ideal gas property-air table )

<em>first step : calculate the value of h2 using the equation below </em>

assuming no work is done ( potential energy is ignored )

h2 = [ h1 + ( V2^2 - V1^2 ) / 2 ] * 1 / 32.2 * 1 / 778

∴ h2 = 136.17 Btu/Ibm

From Table A-17

we will apply interpolation

attached below is the remaining part of the solution

8 0
2 years ago
Other questions:
  • If you know that the change in entropy of a system where heat was added is 12 J/K, and that the temperature of the system is 250
    10·1 answer
  • Briefly describe the purpose of specifying boundary conditions.
    7·1 answer
  • Briefly explain why small-angle grain boundaries are not as effective in interfering with the slip process as are high-angle gra
    5·1 answer
  • The densities of several materials are given in SI units. Convert these to densities in U.S. customary units (slug/ft3), and als
    12·1 answer
  • i need jacket for my daughter who will be going on a girls scouts camping trip it cannot be bulky because she is limited to one
    8·2 answers
  • If 100 J of heat is added to a system so that the final temperature of the system is 400 K, what is the change in entropy of the
    5·1 answer
  • Two engineers are discussing the various merits of hydroelectricity. Engineer A says that tidal barrage systems can generate ele
    6·1 answer
  • When do you need to apply for program completion and review?
    11·1 answer
  • What additional information would make the following problem statement stronger? Select all that apply.
    8·1 answer
  • What do Engineering Systems achieve?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!