This is my website . Welcome everybody to my new website. Here there are some necessary things of yours.
Get link
Facebook
X
Pinterest
Email
Other Apps
1+3+5+......+n ধারার যোগফল নির্ণয়ের সি প্রোগ্রামিং
-
#include<stdio.h>
#include<conio.h>
main()
{ int i, n, sum; printf("Enter numbers: "); scanf("%d", &n); sum=0; for(i=1; i<=n; i=i+2) sum = sum+i; printf("The sum is: %d", sum); getch();
}
ধাপ-১ঃ কাজ শুরু । ধাপ-২ঃ তিনটি সংখ্যা a, b, c নিই । ধাপ-৩ঃ যদি a<b ও a<c হয় তবে, a সবচেয়ে ছোট ছাপাই । অন্যথায় ৪নং ধাপে যাই। ধাপ-৪ঃ যদি b<a ও b<c হয় তবে, b সবচেয়ে ছোট ছাপাই। অন্যথায় ৫নং ধাপে যাই। ধাপ-৫ঃ c সবচেয়ে ছোট ছাপাই। ধাপ-৬ঃ কাজ শেষ ।
Comments
Post a Comment