00:01
Hello students, we are going to write a program to enter temperature in degree celsius and convert that temperature in fahrenheit.
00:08
So basically the basic formula for conversion of temperature of temperature from degree celsius to degree fahrenheit.
00:33
Now what we are going to do is how we are going to find.
00:39
So now this is the formula f is equal to 9 divided by 5 c plus 32 or f is equal to if i solve this 1 .8 c plus 32 so basically if i enter the temperature and degree celsius then the answer will given out in degree fahrenheit.
00:59
Now we need to write the c program right c program right c program to enter temperature in degrees celsius and convert to fahrenheit.
01:09
Now let's start our programming part.
01:11
So our this is our hash include stdio dot h right now we are going to start our int main function with int data type so that we need to return a value.
01:29
So let's let's now declare our variables.
01:34
With float as data type and we are taking variable c and f here so basically c represent temperature in degree celsius and f represent temperature in degree fahrenheit and float data type so that if point value will come then we will take a decimal value too so now we need to print a message here by using print of statement enter the temperature temperature in degree celsius so that in degrees celsius, right? so user will enter the value.
02:13
So we need to scan that value.
02:15
How we are going to scan that value? so we need to write using scanf function...