অ্যালগরিদমঃ
(১) প্রোগ্রাম শুরু।
(২) ফারেনহাইট তাপমাত্রাকে f এর মাধ্যমে গ্রহণ।
(৩) ধরি c = 5 × (f - 32) / 9
(৪) ফলাফল c এর মাধ্যমে প্রদর্শন।
(৫) প্রোগ্রাম শেষ।
ফ্লোচার্টঃ
প্রোগ্রামঃ
#include<stduo.h>
#include<conio.h>
main ()
{
clrscr();
int f;
float c;
printf("Enter the celsius temperature : ");
scanf(“%d”, &f);
c = 5 * (f - 32) / 9;
printf("The fahrenheit temperature is : %f", c);
getch();
}
এর আউটপুট হলোঃ
বিঃ দ্রঃ ভালো লাগলে অবশ্যই শেয়ার করতে হবে।



0 comments:
Post a Comment