Speak now
Please Wait Image Converting Into Text...
Embark on a journey of knowledge! Take the quiz and earn valuable credits.
Challenge yourself and boost your learning! Start the quiz now to earn credits.
Unlock your potential! Begin the quiz, answer questions, and accumulate credits along the way.
Other Off topic in Other . 2 years ago
Hi everyone I would like to know how to convert Celsius to Fahrenheit in a batch file and vice vers I hope that you can help me thanksWhy do you want to use a batch file? Batch arithmetic can only use whole numbers (integers) so your conversions would not be very accurate. Anyhow, if you know the arithmetic needed, which is obvious when you think about it (Fahrenheit has 180 degrees from freezing point of water to boiling, and starts at 32, while Celsius has 100 degrees and starts at 0), you can use the SET /A COMMAND which is documented in MANY places, including at the prompt by typing SET /?.thanks I will try that...Yup! it worked out great thanks for the help!TEMPERATURE converter scripts are found everywhere. So there is no real advantage of doing it in batch. The OP did not say why he NEEDS it in batch.Here is one in Python:http://www.pythonforbeginners.com/code-snippets-source-code/python-code-celsius-and-fahrenheit-converterThe above is also a nice short introduction to Python. There is something weird about this thread.well i came across this lesson in my C++ tutorial ( C++ for dummies 5th edition )Code: [Select]#include<iostream>using namespace std;INT main(){ float fahrenheit, celsius; cout << "Enter the temperature in Celsius : "; cin >> celsius; fahrenheit = (celsius * 9.0) / 5.0 + 32; cout << "The temperature in Celsius : " << celsius << endl; cout << "The temperature in Fahrenheit : " << fahrenheit << endl; return 0;}but this would be need to be compiled befor it is of any useOr use this:http://immigrationroad.com/life-in-us/easy-card-reference/Fahrenheit-to-Celsius-Conversion-Table.pdfJust write a batch file to show the file to the user and he can do the conversion himself using his visual abilities.
Posted on 18 May 2022, this text provides information on Other related to Off topic in Other. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.
Turn Your Knowledge into Earnings.
Answers
No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.
Ready to take your education and career to the next level? Register today and join our growing community of learners and professionals.