Print multiple rows of text from different programs. (C language)


Joined
Apr 11, 2022
Messages
2
Reaction score
0
Hello, I have recently begun to learn C. I have done a simple fahr-celcius converter and i am trying to add a second converter (lb-kg). I have tried many things on my own, but nothing seems to work. It is my first project and I count on improving it more and more to apply what I learn overtime. Any help would be appreciated, here is a link to the code in question : https://ibb.co/2sSv5Vq (hosted by ImgBB)
 
Ad

Advertisements

Joined
Mar 28, 2022
Messages
75
Reaction score
8
The tests in the while loop include "kg <= upperx" but at no point inside the while loop does either kg or upperx get updated.
 
Joined
Apr 11, 2022
Messages
2
Reaction score
0
I don't understand how different it is from fahr <= celsius. If I'm correct it neither is updated in the loop. What would you do to correct this issue? I have kept searching and can't find any answer. Anyhow, I appreciate your help, it's one step closer to finding the solution.
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top