|
1 | 1 | # Temperature Converter
|
| 2 | +## Aim :- Temperature Converter |
2 | 3 |
|
| 4 | +## Purpose :- |
| 5 | + -To convertCelsius into Farenheit. |
| 6 | + -To convert Farenheit into Celsius. |
| 7 | + |
| 8 | +## WorkFlow :_ |
3 | 9 |
|
4 | 10 | ## Script used in Temperature converter
|
5 | 11 | -In this program , we can convert Celsius into Fahrenheit and vise vesra.
|
6 |
| --in this program , I define five functions. |
| 12 | +-in this program , I define four functions. |
| 13 | + |
| 14 | + #1 Cel() |
| 15 | + -This function is used to convert Fahrenheit into Celsius. |
| 16 | + |
| 17 | + #2 Far() |
| 18 | + -This function is used to convert Fahrenheit into Celsius. |
| 19 | + |
| 20 | + #3 main() |
| 21 | + -This function is the main function for the execution of program. |
| 22 | + |
| 23 | + #4 condition |
| 24 | + -This function is used to run the re-execute program. |
| 25 | + |
| 26 | +## Compilation steps:- |
| 27 | +-In this program I define four function Cel(),Far(),main(),condition(). |
| 28 | + Program will can the main function first then it takes input from user that whether |
| 29 | + they want to convert Celsius into Fahrenheit or vice versa. |
| 30 | + |
| 31 | +-On the basis of User's selection it convert Celsius into Fahrenheit or vice vers. |
| 32 | + |
| 33 | +-Then either Cel() or Far() function will be called to perform the calculation and |
| 34 | + gave the value . |
7 | 35 |
|
8 |
| -#1 Cel() |
9 |
| --This function is used to convert Fahrenheit into Celsius. |
| 36 | +-After performing the calculation, I gave the option whether user want to continue or exit. |
10 | 37 |
|
11 |
| -#2 Far() |
12 |
| --This function is used to convert Fahrenheit into Celsius. |
| 38 | +-If want to co continue enter 1 or else to Exit. |
13 | 39 |
|
14 |
| -#3 main() |
15 |
| --This function is the main function for the execution of program. |
16 | 40 |
|
17 |
| -#4 condition |
18 |
| --This function is used to run the re-execute program. |
19 | 41 | ## Setup instructions
|
20 | 42 | -User needs any python id and compiler to execute the program.
|
21 | 43 |
|
|
0 commit comments