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
Natali5045456 [20]
3 years ago
14

Please enter a low limit (limit >= 0): 10 Please enter a high limit (10 > limit <= 50000): 20 Please enter a step, (0 &

lt; step <= 10): 4 Celsius Fahrenheit ------- ---------- A. 10.000000 50.000000 B. 14.000000 57.200000 C. 18.000000 64.400000
Computers and Technology
1 answer:
zimovet [89]3 years ago
7 0

Answer:

Following are the program in the C Programming Language.

//define header file

#include <stdio.h>

//define constant

#define LowerLimit 0

//define constant

#define HigherLimit 50000

//define main method

int main(void) {

 //set double type variables

 double fahrenheit, celsius;

 int low = -1;

 int high = -1;

 int step = -1;

 int max_steps = 0;

   

 //set while loop which reads lower limit

 while(low<(int) LowerLimit) {

   printf("Please give in a lower limit, limit >= %d: ", (int)LowerLimit);

   scanf("%d", &low);

 }

 //set while loop which reads higher limit

 while((high<=low)||(high>(int) HigherLimit)) {

   printf("Please give in a higher limit, %d < limit <= %d: ",low,(int)HigherLimit);

   scanf("%d", &high);

 }

 //set while loop which reads steps

 max_steps =high-low;

 while((step <= 0) || (step > max_steps)) {

   printf("Please give in a step, 0 < step >= %d: ", max_steps);

   scanf("%d", &step);

 }

   

 //initialize the value of low in celsius

 celsius =low;

   

 //print the following table

 printf("\nCelsius\t\tFahrenheit");

 printf("\n-------\t\t----------\n");

 //set while loop

 while(celsius<=high) {

   fahrenheit = (9.0 * celsius) / 5.0 + 32.0;

   printf("%f\t%f\n", celsius, fahrenheit);

   celsius += step;

 }  

 return 0;

}

<u></u>

Explanation:

Here, we define a main() function inside it.

Set two double data type variables and two integer type variables.

  • Set the while loop that reads the lower limit from the user with a message.
  • Again set the while loop that reads the higher limit from the user with message.
  • We set the while loop that reads the steps from the user with a message.
  • Initialize the value stored in the variable low into the variable celsius then, print the format of a table with the help of print() function.
  • Finally, set the while loop which calculates the value of Fahrenheit  and print the value of Celsius and Fahrenheit.
You might be interested in
Which sentence uses parallel structure correctly?
Archy [21]

Answer: Correct option is Option D.

Explanation:

Processed foods are bad for you, are high in fat, and are the cause of serious health issues.

Parallel structures are those structures where words are used in same pattern in a sentence to show that two given ideas/phrases are of similar significance.

This sentence uses parallel structure correctly.

Parallel structure in the sentence are -

are bad for you

are high in fat

are the cause of serious health issues

3 0
2 years ago
Which of these improved the ability to send information over the network in the 1970s?
frez [133]

Answer:

b. ethernet

Explanation:

It was an ethernet that was developed in the 1970s that improved the ability to send the information over the network. It is the most widely used method to connect the computers in a LAN or the local area network, ever since 1980 when it was first introduced for commercial use. And it is being used in bulk even today.

4 0
3 years ago
If you want to selectively darken an area of an image you could use the
DerKrebs [107]
Create an adjustment layer and create a hue and saturation layer. You'll see sliders so adjust them to your liking. next select a layer mask and fill it will black. then select which areas you want to darken and use the wand tool. Apply a gradient mask if you want. 
5 0
3 years ago
what is internet ?? mention five ways one can use the internet profitably. state five disadvantages of the internet.​
rosijanka [135]

The Internet can be best described as network of networks since it connects over 50 million computer worldwide.

3 0
3 years ago
2.3.<br> Why is a foundation of particular importance when building and designing<br> structures?
bearhunter [10]

Answer:

A foundation plays three major roles in the construction of a structure. A good and strong foundation keeps the building standing while the forces of nature wreak havoc. Well-built foundations keep the occupants of the building safe during calamities such as earthquake, floods, strong winds etc.

6 0
3 years ago
Other questions:
  • How do social media sites illustrate kindness?
    15·1 answer
  • Need deveolpers not software
    10·2 answers
  • You are researching RAM for a computer you are building for a friend who will be using the system as a home office server for he
    13·1 answer
  • You can combine the algorithms for converting between infix to postfix and for evaluating postfix to evaluate an infix expressio
    13·1 answer
  • What term refers to a device or software system that collects environmental information and makes independent decisions.
    6·1 answer
  • The definition of network is:
    10·1 answer
  • Which type of error occurred in the following lines of code?
    13·1 answer
  • For what purposes do students collect data? Check all that apply.
    7·2 answers
  • What do we call the software program that handles the communication between a peripheral device and your computer?
    8·2 answers
  • How to make a Java GUI application? Discuss each step needed.
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!