12. Simple C Program to Convert Celsius to Fahrenheit

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 มิ.ย. 2019
  • This is how to write a c program to convert Celsius to Fahrenheit. In this video, we will take the temperature from the user in a Celsius and we will convert that temperature into the Fahrenheit by using some mathematical formula.
    #Clanguage #Cprogramming #Ctutorials
    ------------ Links to my other FREE courses. ---------
    ▶ Java 8 Full Course - • Java 8
    ▶ JDBC Full Course - • 1. Introduction to JDB...
    ▶ Microsoft Cognitive Services Course - • Computer Vision + Angu...
    ▶ JWT in Spring Boot and Angular - • How to download and in...
    ▶ CRUD Operations in Spring Boot and Angular (Full Stack) - • 1. Angular 16 and Spri...
    ▶ Console Based Banking Application Using Java - • Developing Console Bas...
    ▶ E-Commerce Application Development Using Angular and Spring Boot (Full Stack) - • 1. Developing E-Commer...

ความคิดเห็น • 43

  • @sonali3097
    @sonali3097 5 ปีที่แล้ว +4

    Thank you Sir for providing different programs to learn C language... This is absolutely very help full for Beginner's to learn C language..... 😊

  • @rihanmahmud9869
    @rihanmahmud9869 4 ปีที่แล้ว +1

    This too good !

  • @rishabraturi2268
    @rishabraturi2268 ปีที่แล้ว +1

    Thanks a lot

  • @theinsanebustle
    @theinsanebustle ปีที่แล้ว +1

    Thanks 👍

  • @hansisenavirathne9670
    @hansisenavirathne9670 ปีที่แล้ว +1

    Thank you

  • @ansarchoudhury6030
    @ansarchoudhury6030 3 ปีที่แล้ว

    hi, why can't i declare and initialise farenheit before the scanf?

    • @LearnProgrammingYourself
      @LearnProgrammingYourself  3 ปีที่แล้ว +2

      Actually in every programming language we follow some structure.
      In C Programming, this structure is like below,
      1. // Variable declaration
      2. // Body
      3. // Return statements
      I hope, I answered your question, if still you have any doubts please let me know. I'll try to sort it out.
      Also if you want video on any topic please let me know.
      Thank you!!!

  • @harshaliraut534
    @harshaliraut534 3 ปีที่แล้ว +1

    Thank you sir🙂for this information...I want to write a program on the conversation of km to cm,m, inches and foot......sir...how can I write this.🤔......

    • @LearnProgrammingYourself
      @LearnProgrammingYourself  3 ปีที่แล้ว +1

      Hi Harshali, Glad to see you liked the video. And If you want to write program for conversion between cm to inch, m to inch etc. Then you just need to create a formula( Similar to formula that we created to convert from Celsius to Fahrenheit).

    • @harshaliraut534
      @harshaliraut534 3 ปีที่แล้ว +1

      Okay.... thank you sir

    • @LearnProgrammingYourself
      @LearnProgrammingYourself  3 ปีที่แล้ว

      @@harshaliraut534 Always Welcome :-)

    • @pixelbihari
      @pixelbihari 11 หลายเดือนก่อน +1

      ​@@LearnProgrammingYourself😅

  • @sanju0550
    @sanju0550 2 ปีที่แล้ว +2

    Sir instead of float celsious, Fahrenheit why can't we take int celsious, Fahrenheit??

    • @LearnProgrammingYourself
      @LearnProgrammingYourself  2 ปีที่แล้ว +1

      Because temperature can be like 25.6 that means floating point number. That’s why float should be used

    • @sanju0550
      @sanju0550 2 ปีที่แล้ว +1

      @@LearnProgrammingYourself thank you sir

    • @LearnProgrammingYourself
      @LearnProgrammingYourself  2 ปีที่แล้ว +1

      Always welcome

  • @parvshah1120
    @parvshah1120 3 ปีที่แล้ว +1

    Why is int main is used and not void main

    • @LearnProgrammingYourself
      @LearnProgrammingYourself  3 ปีที่แล้ว +1

      Hi Parv, Your question id quite obvious.
      This tutorials point have great article on it. Here's the link - tutorialspoint.com/difference-between-void-main-and-int-main-in-c-cplusplus#:~:text=The%20void%20main()%20indicates,use%20the%20void%20main().

    • @parvshah1120
      @parvshah1120 3 ปีที่แล้ว +1

      @@LearnProgrammingYourself thanks sirr ot helped me a lott

    • @LearnProgrammingYourself
      @LearnProgrammingYourself  3 ปีที่แล้ว

      @Parv, Glad to hear that. Most Welcome.

  • @ogm9561
    @ogm9561 ปีที่แล้ว +1

    Why we cannot not use this
    9/5 * Celsius + 32

    • @LearnProgrammingYourself
      @LearnProgrammingYourself  ปีที่แล้ว

      You can use formula in any way but only thing is it should be right formula.

    • @ogm9561
      @ogm9561 ปีที่แล้ว +1

      @@LearnProgrammingYourself Sir but this formula doesn't work.

    • @LearnProgrammingYourself
      @LearnProgrammingYourself  ปีที่แล้ว

      we need to use correct formula. just use the one that I shown in video.

  • @kerwinlim3056
    @kerwinlim3056 3 ปีที่แล้ว +1

    What if converting celsius to kelvin and fahrenheit?
    int main()
    {
    float Celsius;
    cout

  • @tanmoypurkait7931
    @tanmoypurkait7931 3 ปีที่แล้ว

    This is what software you are using

    • @LearnProgrammingYourself
      @LearnProgrammingYourself  3 ปีที่แล้ว

      This is code blocks. If you want to know how to install and use it then please find my c programming playlist. In that playlist video 1,2,3 will help you.

  • @trafficrider331
    @trafficrider331 2 ปีที่แล้ว

    Hindi m explain kro na bhaiii

  • @dalemenezes6504
    @dalemenezes6504 ปีที่แล้ว +2

    What the hell 5ad from ur vid 😡😡