haha,you to learn it out yourself step by step.but i will help you this time.
[CODE]
/Given the number of commodities bought, create a program that computes the
total amount purchased in a fast food center. Assume that the following unit
price of each commodity
/

include <iostream.h>

void main(){
int a,b,c,d; //a=Fried Chicken,b=Cheese Burger,c=French Fries,d=Soft Drinks//
float total; //total price for all commodity//

cout<<"Enter the number of commodities bought."<<endl;
cout<<"Fried Chicken:";
cin>>a;
cout<<"Cheese Burger:";
cin>>b;
cout<<"French Fries:";
cin>>c;
cout<<"Soft Drinks:";
cin>>d;

total=(a29.75)+(b25.00)+(c18.50)+(d14.25);

cout<<"Total:"<<total;
}
[/CODE]

This is 1 of the solution for your question. But i believe there is other way.

commented: Please don't spread non standard code around -2
commented: Seriously? -3

can anyone explain to me what is the definition for the both above.i had search on the internet but still cant got wat it is mean by.if can pls show some example to me.thanks