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



0 comments:
Post a Comment