Easy HSC ICT Solution
To share information related to HSC ICT
16/07/2025
দুটি সংখ্যার গ.সা.গু এবং ল.সা.গু নির্ণয়
//GCD of two numbers
main()
{
int a, b, x, i;
printf("Enter a, b=");
scanf("%d%d",&a,&b);
if(ab)
x=a;
else
x=b;
for(i=x; ;i++)
{
if(i%a==0&&i%b==0)
break;
}
printf("LCM=%d", i);
}
:
Enter a, b=20 15
LCM=60
19/09/2024
#1+2+4+7+..... ধারাটির n পর্যন্ত যোগফল নির্ণয়ের সি প্রোগ্রাম লিখ (for loop ব্যবহার করে)।
//Sum of (1+2+4+7+....+n)
main()
{
int i=1, n, s=0, a=1;
printf("Enter last term, n=");
scanf("%d",&n);
for(a=1;a
Want your school to be the top-listed School/college in Chittagong?
Click here to claim your Sponsored Listing.
Click here to claim your Sponsored Listing.
Category
Telephone
Website
Address
Chittagong