in one the chapter 3 programming challenges you were asked to write a program that converts a celsius temperature to fahrenheit. Modify that program so it uses a loop to display a table of celsius from 0 to 20 and their Fahrenheit equivalents.

I would start by looking at chapter 3 and going from there.

You want to write it using C language? Or some other programming language?

To modify the program that converts Celsius to Fahrenheit to display a table, we can introduce a loop that iterates through the range of temperatures from 0 to 20 Celsius. Here's an example of how you can modify your program:

```python
# Define the conversion function
def celsius_to_fahrenheit(celsius):
return celsius * 9/5 + 32

# Loop through temperatures from 0 to 20
for celsius in range(21):
fahrenheit = celsius_to_fahrenheit(celsius)
print(f"{celsius}°C = {fahrenheit}°F")
```

In this modified version, we create a function `celsius_to_fahrenheit` that takes a Celsius temperature as input and returns the equivalent Fahrenheit temperature. Then, we use a for loop to iterate through the range of temperatures from 0 to 20. Inside the loop, we call the `celsius_to_fahrenheit` function to convert each Celsius temperature to Fahrenheit and then print the results in the table format.