"""এইচএসসি পরীক্ষা ২০১৯ ইং 'তথ্য ও
যোগাযোগ প্রযুক্তি' - পঞ্চম অধ্যায়ের সি-
প্রোগ্রামিং যেগুলো প্রায় ১০০% পরীক্ষায়
আসে....!!!
২.১ ত্রিভূজের ক্ষেত্রফল নির্ণয়ের জন্য
প্রোগ্রাম লিখ।
প্রোগ্রাম কোড:
# include <stdio.h>
#include<conio.h>
int main()
{
float base,height,area;
printf(“\n Enter base of the triangle =”);
scanf(“%f”,&base);
printf(“\n Enter height of the triangle=”);
scanf(“%f”,&height);
area=(base*height)/2;
printf(“\n Area of a triangle is=
%2f”,area);
getch();
}
২.২ বৃত্তের ক্ষেত্রফল নির্ণয়ের জন্য
প্রোগ্রাম লিখ।
প্রোগ্রাম কোড:
#include<stdio.h>
#include<conio.h>
#include<math.h>
main()
{
int radius;
float area,pi=3.14;
printf(“\n Enter the value of radius:”);
scanf(“%d”,&radius);
area= pi*radius*radius;
printf(“\n Area of a circle is :%f”,area);
getch();
}
২.৩ সেলসিয়াস তাপমাত্রাকে
ফারেনহাইট তাপমাত্রায় রুপান্তরের
জন্য প্রোগ্রাম লিখ।
প্রোগ্রাম কোড:
#include<stdio.h>
#include<conio.h>
main()
{
float c,f;
printf(“\n Enter the Celsius
Temperature:”);
scanf(“%f”,&c);
f=((c*9)/5)+32;
printf(“\n Fahrenheit temperature is
%.2f”,f);
getch();
}
২.৪ কোন সংখ্যা জোড় কিনা, তা
নিণর্য়ের জন্য প্রোগাম লিখ।
প্রোগ্রাম কোড:
#include<stdio.h>
#include<conio.h>
int main()
{
int n;
printf(“\n Enter any integer number:”);
scanf(“%d”,&n);
if(n%2==0)
printf(“\n Your number is even.”);
else
printf(“\n Your number is odd.”);
getch();
}
২.৫ কোন একটি সাল লিপ ইয়ার কিনা,
তা নির্ণয়ের জন্য একটি প্রেগ্রাম
লিখ।
প্রোগ্রাম কোড:
#include<stdio.h>
#include<conio.h>
int main()
{
int year;
printf(“\n Enter the year (4 Digit) to
check:”);
scanf(“%d”,&year);
if(year%400==0|| (year%100!=0&&year
%4==0))
printf(“%d is a leap year.”,year);
else
printf(“%d is not a leap year.”,year);
getch();
}
২.৬ ১+২+৩+…………….+N সিরিজের
যোগফল নির্ণয়ের জন্য প্রোগ্রাম
লিখ।
প্রোগ্রাম কোড:
#include<stdio.h>
#include<conio.h>
main()
{
int s=0;
int i=1;
int n;
printf(“\n Enter the total number of
value:”);
scanf(“%d”,&n);
while(i<=n)
{
s=s+i;
i++;
}
printf(“\n The sum of the value is
%dn”,s);
getch();
}
২.৭ ১ +২ +৩ +……………..+N
সিরিজের যোগফল নির্ণয়ের জন্য
প্রোগ্রাম লিখ।
প্রোগ্রাম কোড:
#include<stdio.h>
#include<conio.h>
#include<math.h>
main()
{
int i=1,sum=0,number;
printf(“\n Enter the last number of the
series:”);
scanf(“%d”,&number);
printf(“n The Series is:”);
do
{
printf(“%d”,i);
sum=sum+pow(i,2);
i+=1;
if(i<=number)
printf(“+”);
}while(i<=number);
printf(“n Summation=%d”,sum);
getch();
}
Books poem in bangla and with analysis Verse-wise Bangla Translation: What worlds of wonder are our books! As one opens them and looks, New ideas and people rise In our fancies and our eyes. আমাদের বইগুলো কী আশ্চর্য এক জগৎ! যখনই কেউ তা খুলে দেখে, নতুন ভাবনা আর নতুন মানুষ জেগে ওঠে কল্পনায় ও চোখের সামনে। The room we sit in melts away, And we find ourselves at play With some one who, before the end, May become our chosen friend. আমরা যে ঘরে বসে আছি, তা যেন মিলিয়ে যায়, আর আমরা আবিষ্কার করি নিজেদের খেলায় মত্ত কাউকে সঙ্গে নিয়ে, যে হয়তো শেষ পর্যন্ত আমাদের প্রিয় বন্ধু হয়ে উঠবে। Or we sail along the page To some other land or age. Here's our body in the chair, But our mind is over there. অথবা আমরা পৃষ্ঠার ওপর দিয়ে ভাসতে থাকি অন্য কোনো দেশ বা কালের দিকে। আমাদের শরীরটা রয়েছে চেয়ারে, কিন্তু মন চলে গেছে দূরে অন্য কোথাও। Each book is a magic box Which with a touch a child unlocks. In between their outside covers Books hold all things for their lovers. প্রতিটি বই একেকটি জাদুর বাক্স, যা শিশুরা এক ...
Comments
Post a Comment