ফারেনহাইট তাপমাত্রাকে সেলসিয়াস স্কেলে প্রকাশের জন্য সি ভাষায় প্রোগ্রাম





#include<stdio.h>
#include<conio.h>
int main()
{
float c,f;
printf("Enter the Fahrenheit Temperature =  ");
scanf("%f",&f);
c=((f-32)/9)*5;
printf("Celsius Temperature=%f\n",c");
getch();
}

Output

Enter the Fahrenheit Temperature = 10  [10 ইনপুট দেয়া হয়েছে]

Celsius Temperature= 12.222222

Copy Code from here:

Comments

Post a Comment

Popular posts from this blog

তিনটি সংখ্যা থেকে বড় সংখ্যা নির্ণয়ের এলগরিদম ও ফ্লোচার্ট

একটি ত্রিভুজের ক্ষেত্রফল নির্ণয়ের জন্য সি ভাষায় প্রোগ্রামিং