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
Select the correct answer.
zmey [24]

Answer: data design model

Explanation:

8 0
3 years ago
Suppose a raptor center has 9 owls and 12 hawks. What percent of these birds are hawks? Round your answer to the nearest whole p
Andrews [41]
Givghjn gujbfuj. Gunghiyvb cvcybv
5 0
4 years ago
1) व्याख्या गर
Maksim231197 [3]

Answer:

त्यसोभए वास्तवमा प्रश्न के हो?

Explanation:

8 0
3 years ago
What are the four primary factors described in the text that set the state for Web 2.0 or the social Web that we enjoy today??
antiseptic1488 [7]


The four primary factors that set the stage for web 2.0 of the social web are following:  broad bandwidth, sustainable business models, new web programming technologies and application programming interfaces.
• Broad Bandwidth which technology developments have been taking place at a faster situation and the availability of internet has remarkably increased over the years through the rise of broad band technology. The broadband increase in easy accessibility laid a strong base for social web or web 2.0.

• Sustainable Business Model which E-commerce took its roots and has proven a great success rate.

• New Web Programming Technologies which includes web content, web client, server scripting and network security.

• Application Programming Interface is a system of resources and tools in an operating system which enables the developers to create software applications.
7 0
4 years ago
G=D+(A+C^2)*E/(D+B)^3 Rewrite the above formula in terms of doing concurrent processing using cobegin and coend to identify thos
jeka57 [31]

Answer:

G=D+(A+C^2)*E/(D+B)^3

p1:C^2

p2:(D+B)^3

p3:A+p1

p4:E/p2

p5: D+p3+p4

COBEGIN

P1(p1,p2)

COEND

COBEGIN

P2(p3,p4)

COEND

execute p5

Explanation:

P1, P2 are parallel processes as they are independent of each other. And p5 together with P1, P2 forms the serial list of processes, and these must be executed serially.  And we need to run as mentioned above concurrent processes under cobegin and coend. Hence the above is the required list of processes and how they are processed. Concurrent processes are listed under cobegin and coend.

4 0
3 years ago
Other questions:
  • Which resource hels a user access a could service​
    12·1 answer
  • Question 14. 14. PowerPoint assumes every new slide, except for a blank slide, has _____.
    13·1 answer
  • What kinds of circumstances would lead you to writing a function versus using a loop? please explain in simple terms
    6·1 answer
  • Why is https used in every link of a website?
    8·1 answer
  • The most important hardware device for connecting supercomputers over a wide area
    10·1 answer
  • I have a question about Java Script How do I make gravity working on a game and need to know not in a rush though
    15·1 answer
  • Write code which takes a user input of a String and an integer. The code should print each letter of the String the number of ti
    12·1 answer
  • Type of operating system used i handleheld device
    6·1 answer
  • What is your favorite video that Markiplier did with Bob, Wade, and Jack?
    8·1 answer
  • What is a logical grouping of related records called?.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!