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
Sliva [168]
3 years ago
5

Write an if statement that that decreases the variable shelfLife by 4 if the variable outsideTemperature is greater than 90. Ass

ume the variables shelfLife and outsideTemperature have already been declared and assigned values.
Computers and Technology
1 answer:
Mazyrski [523]3 years ago
3 0

Answer:

// Below are the if-statement for the above code, which can run in c, c++ and java language.

if(outsideTemperature>90) //if-condition to check the condition.

          shelfLife=shelfLife-4; //assign the value.

Explanation:

  • The above code is written in c language, but it can run in c,c++ or java language.
  • There is one if condition which compares the value of "outsideTemperature" variable with 90, that the value of "outsideTemperature" is greater than 90 or not.
  • if the variable is less than 90 or equal to 90 then the original value of "shelfLife" will remain the same, otherwise, the value of "shelfLife" variable decreases by 4. this is also demand by the question.
You might be interested in
Free points,
Radda [10]

Answer:

thank you i really needed that and plus i just lost point by putting a question i mean i was asking for help and i still don't know the answer

hope u feel better

5 0
3 years ago
Read 2 more answers
Explain the distinction between interpretation and compilation. What are the comparative advantages and disadvantages of the two
Feliz [49]

Answer: Compiler translates high level source program into a equivalent target program (machine language).

An interpreter implements a virtual machine whose "machine language" is the high-level programming language. The interpreter reads statements in that

language more or less one at a time, executing them as it goes along.

Explanation:

give brainliest please

5 0
3 years ago
Write a program whose input is a character and a string, and whose output indicates the number of times the character appears in
attashe74 [19]

Answer:

Let me see the picture clearly

Explanation:

5 0
4 years ago
What refrigerant has been approved for new household refrigerators and freezers
Alexxx [7]
Bsbsnsnsnsn jajwjemoeododhdhdw whajsjshtzzvsssnxbba. 3
8 0
4 years ago
RFID can be used for all of the following applications except:_________.
serious [3.7K]

Answer:

B. Access point repeater

Explanation:

RFID can be used for all of the listed applications except for Access point repeater. This is because Radio Frequency Identification is a technology, which includes wireless data capture and transaction processing for both short and long-range applications. Usually tracking, tracing, accessing, and managing information. It can unfortunately not be used for repeating the same RFID signal or any access point for that matter.

3 0
3 years ago
Other questions:
  • Are we too dependent on technology if yes then can you please explain?
    12·2 answers
  • An essential skill today is knowing how to cite sources properly. Creative Commons has a system of licenses and tools for creato
    11·1 answer
  • Which type of microphone uses two metal plates?
    7·1 answer
  • Please help!!
    8·1 answer
  • What do you do when you have computer problems? Check all that apply. PLEASE HELP
    9·2 answers
  • Which one is exit controllefd loop ?<br>1.while loop <br>2. for loop<br>3. do loop<br>4. none <br>​
    11·1 answer
  • ¿Es aquel panel que controla la estructura de la tabla dinámica?
    14·2 answers
  • The reason why our computers can get faster without getting bigger is because of...
    14·1 answer
  • Suggest three ways in which celebrating an occasion influences food choices?
    10·2 answers
  • How does a Cloud-first strategy approach a client's migration to the Cloud?by removing outside ecosystem partners from the Cloud
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!