Sunday, May 29, 2016

7:36 AM


অ্যালগরিদমঃ


        (১) প্রোগ্রাম শুরু।

        (২) ব্যাসার্ধ r এর মাধ্যমে গ্রহণ।

        (৩) ধরি area = 22/7 × r × r

        (৪) ফলাফল area এর মাধ্যমে প্রদর্শন।

        (৫) প্রোগ্রাম শেষ।


ফ্লোচার্টঃ



প্রোগ্রামঃ


#include<stduo.h>

#include<conio.h>

main ()

  {

    clrscr();

    int r;

    float area;

    printf("Enter the value of radius :");

    scanf(“%d”, &r);

    area = 22/7 * r * r;

    printf("The area of circle is : %f", area);

    getch();

  }


        এর আউটপুট হলোঃ



বিঃ দ্রঃ ভালো লাগলে অবশ্যই শেয়ার করতে হবে।

0 comments:

Post a Comment

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

 
Top