Welcome to Onlinetunes24 .....

We are committed to become your long-term, trusted partner. Our priority is not only to provide professional services and solutions but to become your IT vendor dedicated to meet your needs today and support your growing business needs tomorrow.

This is default featured post 1 title

We are committed to become your long-term, trusted partner. Our priority is not only to provide professional services and solutions but to become your IT vendor dedicated to meet your needs today and support your growing business needs tomorrow.

This is default featured post 2 title

We are committed to become your long-term, trusted partner. Our priority is not only to provide professional services and solutions but to become your IT vendor dedicated to meet your needs today and support your growing business needs tomorrow.

This is default featured post 3 title

We are committed to become your long-term, trusted partner. Our priority is not only to provide professional services and solutions but to become your IT vendor dedicated to meet your needs today and support your growing business needs tomorrow.

This is default featured post 4 title

We are committed to become your long-term, trusted partner. Our priority is not only to provide professional services and solutions but to become your IT vendor dedicated to meet your needs today and support your growing business needs tomorrow.

Find Factorial

Write a program to find factorial.

Program:
#include<stdio.h>
main(){
int n,i,fact=1;

printf("Enter your value = ");
scanf("%d", &n);

for(i=1; i<=n; i++)
fact=fact*i;

printf("Factorial = %d",fact);
}

Waiver of Tuition Fee

Write a program for find out the waiver of tuition fee the following condition.
1. If CGPA greater then or equal to 10, then waiver 90% of total amount fee.
2. If CGPA greater then or equal to 9, then waiver 50% of total amount fee.
3. If CGPA greater then or equal to 8.5, then waiver 30% of total amount fee.
4. If CGPA less then 8, then waiver 5% of total amount fee.

Program:
#include<stdio.h>
main(){
float amount,cgpa,waiver;

printf("Enter amount = ");
scanf("%f", &amount);

printf("CGPA = ");
scanf("%f", &cgpa);

if(cgpa>=10)
waiver=amount*.90;

else if(cgpa>=9)
waiver=amount*.50;

else if(cgpa>=8.5)
waiver=amount*.30;

else if(cgpa<8)
waiver=amount*.05;

printf("Waiver = %f", waiver);
}
 

Find out the quardratic equation


Write a program for the following equation ax2+bx+c
Program:
#include<stdio.h>
#include<math.h>
main(){
float a,b,c,x1,x2,d;

printf("A=? , B=? , C=? ");
scanf("%f %f %f", &a, &b, &c);

d=b*b-4*a*c;

if(d>0)
{
x1=(-b+sqrt(d))/2*a;
x2=(-b-sqrt(d))/2*a;
}

else if(d==0)
{
x1=-b/2*a;
x2=-b/2*a;
}

else
printf("Negative number so program not possible calculation.");

if(d>=0)
printf("X1=%f, \n X2=%f", x1, x2);
}
 

Group Insurance

Write a program calculate the group insurance using following condition.
1. Fix 96 Tk If basic is grater then or equal to 5000
2. Fix 72 Tk If basic is grater then or equal to 3000
3. Fix 48 Tk If basic is grater then or equal to 1700
4. Other wise 0 Tk

Program:
#include<stdio.h>
main(){
int basic,gi;

printf("Enter Basic = ");
scanf("%d", &basic);

if(basic>=5000)
gi=96;

else if(basic>=3000)
gi=72;

else if(basic>=1700)
gi=48;

else
gi=0;

printf("Group Insurances = %d", gi);
}

City Allowance

Write a program for calculate city allowance using following condition
1. 20% of basic. but if city allowance grater then 2500 then city allowance will be fixed 2500

Program:
#include<stdio.h>
main(){
int ca, basic;

printf("Enter basic = ");
scanf("%d", &basic);

ca=basic*.20;

if(ca>2500)
ca=2500;

printf("City allowance =%d", ca);
}

House Rent Program

House rent following condition.
1. 40% of basic if basic is grater then or equal to 5000
2. 50% of basic if basic is less then 5000

Program:
#include<stdio.h>
main(){
int basic,hr;

printf("Enter basic = ");
scanf("%d", &basic);

if(basic>=5000)
hr=basic*.40;

else
hr=basic*.50;

printf("House Rate =%d", hr);
}

Commission of Basic Sell

Suppose you will be get commission on the basic of your sell. The criteria for getting commission is given below.
1. 7% of total sell if selling  amount grater then or equal to 200000
2. 5% of total sell if selling  amount grater then or equal to 150000
3. 2% of total sell if selling  amount grater then or equal to 100000
4. 1% other wise

Program:
#include<stdio.h>
main(){
float amount,com;

printf("Enter your selling amount = ");
scanf("%f", &amount);

if(amount>=200000)
com=amount*.07;

else if(amount>=150000)
com=amount*.05;

else if(amount>=100000)
com=amount*.02;

else
com=amount*.01;

printf("Your commission = %.2f", com);
}
 

Labour payment calculation program.

Write a program using the following condition.
1. If any employee works 40 hours or less. Then gross payment  will be hours multiplies by rate
2. If any employee works more then 40 hours. Then gross payment will be hours multiplies by rate. He also gate extra 200 Tk.

Program:
#include<stdio.h>
main(){
float hour, rate, grosspay;

printf("Enter houre = ");
scanf("%f", &hour);

printf("Enter rate = ");
scanf("%f", &rate);

if(hour<=40)
grosspay=hour*rate;

else
grosspay=hour*rate+200;

printf("Grosspay = %.2f", grosspay);
}

Write a program using a given function

Write a program that used to compute the following after reading a value of x.
1. Y = (x2+2x-1)/5 if x<0
2. Y = (x-3) if x=0
3. Y = (x-14) if x>0

Program:
#include<stdio.h>
main(){
float x, y;

printf("Enter vlaue of X = ");
scanf("%f", &x);

if(x>0)
y=x-14;

else if(x==0)
y=x-3;

else
y=(x*x+2*x-1)/5;

printf("Y = %.f", y);
}

Tax calculation program

Write a tax calculation program using following condition.
1. if amount>=11500 then tax is 150 tk.
2. if amount>=8000 then tax is 100 tk.
3. Others wish tax is 0 tk

Program:
#include<stdio.h>
main(){
int amount,tax;
printf("Enter amount = ");
scanf("%d", &amount);
if(amount>=11500)
tax=150;
else if(amount>=8000)
tax=100;
else
tax=0;
printf("Your tax = %d", tax);
}

Write a program find out the area of a circle

Write a program find out the area of a circle.

Program:
#include<stdio.h>
main(){
float r,area;
printf("Enter redious of circle = ");
scanf("%f", &r);
area=3.1416*r*r;
printf("Area of circle is : = %.2f", area);
}

বদলে ফেলুন আপনার পিসির ওয়েলকাম মেসেজ

আপনি চাইলেই আপনার কম্পিউটারের উইন্ডোজের ওয়েলকাম স্ক্রিনে, অর্থাৎ উইন্ডোজ চালু হওয়ার সময় পর্দায় নিজের পছন্দের বার্তা দিয়ে রাখতে পারেন। জন্য অন্য কোনো সফটওয়্যার ইনস্টল দিতে হবে না। এটি আপনি খুব সহজেই করতে পারেন উইন্ডোজের Run থেকে। জন্য আপনাকে উইন্ডোজের Start মেন্যু থেকে Run মেন্যুতে গিয়ে Regedit লিখে এন্টার চাপতে হবে। তাহলে নতুন একটি উইন্ডো আসবে।  

১. এখান থেকে HKEY_LOCAL_MACHINE ক্লিক করতে হবে। তাহলে Software আসবে।  
২. সেখানে Microsoft- ক্লিক করে Windows NT-তে ক্লিক করলে নতুন মেন্যু আসবে।  
৩. সেখান থেকে Current Version- ক্লিক করে সবশেষে Winlogon- ক্লিক করতে হবে। 
৪. এবার ডান দিকের বক্স থেকে Legal Notice Caption- দুবার ক্লিক করতে হবে। তাহলে নতুন বক্স আসবে। তাতে আপনি আপনার বার্তার শিরোনাম লিখে ok করুন।  
৫. এরপর Legal Notice Text- দুবার ক্লিক করে আপনার পুরো বার্তা লিখে ফেলুন। তারপর ok করে বেরিয়ে আসুন।  

তাহলেই সেট হয়ে গেল আপনার উইন্ডোজের স্ক্রিনে আপনার ব্যক্তিগত বার্তা। এখন থেকে কম্পিউটার খুললেই উইন্ডোজ আপনাকে আপনার বার্তা দিয়ে স্বাগত জানাবে। আর যদি ওয়েলকাম স্ক্রিনের এই বার্তা বন্ধ করতে চান, তাহলে একই পদ্ধতিতে Legal Notice Caption Legal Notice Text- ঢুকে আগের লেখা বার্তাগুলো মুছে দিয়ে ok করে বেরিয়ে আসুন, তাহলেই হবে। 

Loading
Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Flying Twitter Bird Widget By ICT Sparkle