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
Sketches are a very efficient way to share ideas.<br> True<br> False
timurjin [86]

Answer:

yes

Explanation:

4 0
3 years ago
Read 2 more answers
PLEASE HELP!! Its easy!!!
Rina8888 [55]

Answer:

C is tire

F is cassette

D is hub

4 0
3 years ago
Read 2 more answers
What mass of LP gas is necessary to heat 1.4 L of water from room temperature (25.0 ∘C) to boiling (100.0 ∘C)? Assume that durin
DochEvi [55]

Answer:

m_{LP}=0.45\,kg

Explanation:

Let assume that heating and boiling process occurs under an athmospheric pressure of 101.325 kPa. The heat needed to boil water is:

Q_{water} = (1.4\,L)\cdot(\frac{1\,m^{3}}{1000\,L} )\cdot (1000\,\frac{kg}{m^{3}} )\cdot [(4.187\,\frac{kJ}{kg\cdot ^{\textdegree}C} )\cdot (100^{\textdegree}C-25^{\textdegree}C)+2257\,\frac{kJ}{kg}]

Q_{water} = 3599.435\,kJ

The heat liberated by the LP gas is:

Q_{LP} = \frac{3599.435\,kJ}{0.16}

Q_{LP} = 22496.469\,kJ

A kilogram of LP gas has a minimum combustion power of 50028\,kJ. Then, the required mass is:  

m_{LP} = \frac{22496.469\,kJ}{50028\,\frac{kJ}{kg} }

m_{LP}=0.45\,kg

6 0
3 years ago
The production process of rods from machine "A" yields specimen with the following specs. Mean: µ(LA)=20.00mm, STD: s(LA)=0.50mm
Oxana [17]

Answer: the standard deviation STD of machine B is s (Lb) = 0.4557

Explanation:

from the given data, machine A and machine B produce half of the rods

Lt = 0.5La + 0.5Lb

so

s² (Lt) = 0.5²s²(La) + 0.5²s²(Lb) + 0.5²(2)Cov (La, Lb)

but Cov (La, Lb) = Corr(La, Lb) s(La) s(Lb) = 0.4s (La) s(Lb)

so we substitute

s²(Lt) = 0.25s² (La) + 0.25s² (Lb) + 0.4s (La) s(Lb)

0.4² = 0.25 (0.5²) + 0.25s² (Lb) + (0.5)0.4(0.5) s(Lb)

0.64 = 0.25 + s²(Lb) + 0.4s(Lb)

s²(Lb) + 0.4s(Lb) - 0.39 = 0

s(Lb) = { -0.4 ± √(0.16 + (4*0.39)) } / 2

s (Lb) = 0.4557

therefore the standard deviation STD of machine B is s (Lb) = 0.4557

8 0
3 years ago
Please help me I need to answer this problem
Norma-Jean [14]

Answer:

f

Explanation:

7 0
3 years ago
Other questions:
  • Which situation might cause potential hazards at a construction site?
    12·2 answers
  • Why is concrete on its own not a good material to use
    6·1 answer
  • The Torricelli's theorem states that the (velocity—pressure-density) of liquid flowing out of an orifice is proportional to the
    5·1 answer
  • read a file called filled in with a few sentences or a paragraph. Then write a function called typoglycemia, which scrambles the
    13·1 answer
  • The average human heart Beats 1.15 times 10 to the power of 5 per day. There are 3.65 times 10 to the power of 2 days in one yea
    14·1 answer
  • Compare the temperature dependence of Nabarro-Herring and Coble creep. Which is more temperature-sensitive
    15·1 answer
  • Hello how are you all bye everyone have a great day ahead​
    8·2 answers
  • The ruler game, HELPPPP PLS
    11·2 answers
  • Find the remaining trigonometric functions of 0 if
    10·1 answer
  • 8th grade safety test
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!