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
Mademuasel [1]
2 years ago
10

write an if/else statement that assigns true to the variable fever if the v ariable temperature is greater than 98.6

Computers and Technology
1 answer:
miv72 [106K]2 years ago
3 0

Answer:

import java.util.Scanner;

class Main{

   public static void main(String[] args){

     double temp;

     Scanner scan = new Scanner (System.in);

     System.out.println("Enter the temperature, please: ");

     temp= scan.nextDouble();

     

     if (temp>=98.6){

       System.out.println("Fever.");

     }else{

       System.out.println("No Fever.");

     }      

   }

You might be interested in
Plagiarism occurs when writers
pentagon [3]

Answer:

<h3><em>A</em>- Use others' ideas and writing as their own</h3>

Explaniation:

it's plagiarism, just don't take other people's work and pass it as your own. smh lol

3 0
4 years ago
Read 2 more answers
Maya wrote a program and forgot to put the steps in the correct order. Which step does Maya need to review? Pattern following Pl
Drupady [299]

Answer:

Sequencing

Explanation:

7 0
3 years ago
Read 2 more answers
Nina aspires to be a digital media specialist. What should Nana be familiar with in order to pursue this career?
brilliants [131]

computer science? maybe im not sure?

4 0
3 years ago
Read 2 more answers
Which sentence is correctly punctuated? WILL GIVE YU MONEY GIVE ME YOUR CASH APP PLS
Genrish500 [490]
The third one is best in me owns opinion
3 0
3 years ago
Read 2 more answers
How do you convert a decimal to binary?
lidiya [134]
B. repeatedly divide the decimal number by 2
7 0
3 years ago
Read 2 more answers
Other questions:
  • Which of these tools can best be used as a self assessment for career planning purposes
    12·1 answer
  • What component of a computer system holds the operating system when the computer is not running
    6·2 answers
  • What is an abstract class? (Points : 2) A generalized class used only to create related derived classes
    6·1 answer
  • You have installed five new 300 GB disk drives into a server running Windows Server 2012. You want to create a volume that will
    15·1 answer
  • Solesbee v. Balkcom (1950) was one of two cases that challenged the constitutionality of capital punishment prior to 1968. What
    10·1 answer
  • Which programming element is used by a game program to track and display score information?
    10·2 answers
  • You are doing a Diffie-Hellman-Merkle key exchange with Danny using generator 2 and prime 29. You pick the secret number 4. What
    14·1 answer
  • Mention the usage of crop concept in ms-word​
    13·2 answers
  • Ang Kabihasnang ito ay umusbong sa rehiyon ng Timog Mexico
    6·1 answer
  • Who played Anne in the green gables??
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!