Sunday, June 12, 2016

8:24 AM

অ্যালগরিদমঃ


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

        (২) ইনপুট হিসাবে a এর মাধ্যমে গ্রহণ।

        (৬) তুলনাঃ a, 2 দ্বারা বিভাজ্য কি না?
             (ক) যদি হাঁ হয় তবে জোড় হিসাবে প্রদর্শন করবে।
             (খ) যদি না হয় তবে বিজোড় হিসাবে প্রদর্শন করবে।

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


ফ্লোচার্টঃ



প্রোগ্রামঃ


#include<stduo.h>

#include<conio.h>

main ()

  {

    clrscr();

    int a;

    printf("Enter the number:");

    scanf("%d", &a);

    if (a % 2! = 0)

    printf("The number is odd.");

    else

    printf("The number is even.");

    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