Saturday, May 28, 2016

7:41 AM


অ্যালগরিদমঃ


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

        (২) তিনটি সংখ্যা তিনটি চলক a, b ও c এর মাধ্যমে গ্রহণ।

        (৩) ধরি sum = a + b + c

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

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


ফ্লোচার্টঃ



প্রোগ্রামঃ


#include <stdio.h>

#include <conio.h>

main () 
  
 {

   clrscr();

   int a, b, c sum;

   printf("Enter three number by space :");

   scanf(“%d%d%d”, &a, &b, &c);

   sum = a + b + c;

   printf("The result of sum is : %d", sum);

   return 0;
   
 }


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



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

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