a Uniform?
A. They should be afforded all right of the Constitution of capturing country and then tried in Civilian Courts.
B. Be shot on sight as Illegal Combatants or spys and or tried as War Criminals in a Military Tribunal.
C. Given Citizenship in capturing country and set free.
D. Can be confined indefinitely, like POWs, until the war ends or they are paroled.
E. A and C
F. B and D
G. None of these above.
Please advise…
first answer…WRONG…
G: None of the above. The Geneva conventions do not protect those that do not follow them. One must appear in uniform on the battlefield in order to be protected by the Geneva conventions.
Anything can be done to the civilian and it is not a violation of the Geneva protocol, but it may violate other local laws.
This organization is already planning on making the Convention a circus http://www.recreate68.org/ What impact do you think this will have? Will this be a positive impression of the Democrats?? Who will benefit?
What impact do you think this will have? Absolute chaos for all of America to witness.
Will this be a positive impression of the Democrats? Absolutely not.
Who will benefit? John S. McCain.
for some reason i cant call my subfunctions
i am reading from a cater.data file
and printing to a bill.out
any help the error statement i am given when trying to compile lets me know it is trying to read my called functions as a variable
i.e.
error heading not defined in this scope
#include <iostream>
#include <fstream>
#include <iomanip>
using namespace std;
int main()
{
ifstream cater;
ofstream bill;
int adultnum,
count,
kidnum;
double avgbill,
dsert,
dpt,
grat,
mcorsa,
mcorsk,
rmfee,
sumcorsa,
sumcorsk,
sumdsert,
sumcors,
txntip,
tax,
total,
totalbill;
cater.open("cater.data");
bill.open("bill.out");
void stars(ofstream);
void underscore(ofstream);
totalbill=0.00;
count=0;
cater >> kidnum, adultnum, mcorsa, dsert, rmfee, grat, tax, dpt;
while (cater)
{
heading(bill.out);
txntip = calctax(tax,sumcors,grat);
mcorsk = kidsmeal(kidnum,mcorsa);
sumcorsa = mcorsa * adultnum;
sumcorsk = mcorsk * kidnum;
sumdsert = dsert*(kidnum + adultnum);
sumcors = foods(sumcorsa, sumcorsk, sumdsert);
total – calctotal(rmfee,dpt);
bill << left << " Number of adults: \n " << setw(4) << adultnum;
bill << left << " Number of children: \n " << setw(4) << kidnum;
bill << left << " Cost per adult without dessert: \n$" << setw(6) << mcorsa;
bill << left << " Cost per child without dessert: \n$" << setw(6) << mcorsk;
bill << left << " Cost per dessert: \n$" << setw(6) << dsert;
bill << left << " Room Fee: \n$" << setw(6) << rmfee;
bill << left << " Tip rate: \n$" << setw(6) << grat;
bill << left << " Tax rate: \n$" << setw(6) << tax;
underscore(bill);
bill << left << " Total cost for adult meals: \n$" << setw(6) << sumcorsa;
bill << left << " Total cost for child meals: \n$" << setw(6) << sumcorsk;
bill << left << " Total cost for dessert: \n$" << setw(6) << sumdsert;
underscore(bill);
bill << left << " Total food cost: \n$" << setw(6) << sumcors;
bill << left << " Tax and tip: \n$" << setw(6) << txntip;
bill << left << " Room Fee: \n$" << setw(6) << rmfee;
bill << left << " LESS DEPOSIT: \n$" << setw(6) << dpt;
underscore(bill);
bill << left << " balance due: \n$" << setw(6) << total;
stars(bill);
bill << left << "\n";
bill << left << "\n";
totalbill = totalbill + total;
count = count++;
}
avgbill= totalbill/count;
cater.close();
bill.close();
}
void stars(ofstream &bill)
{
bill << "****************************************************\n";
}
void underscore(ofstream &bill)
{
bill << "—————————————————-\n";
}
void heading(ofstream &bill)
{
stars(bill);
bill << " Rouge catering and convention service \n ";
bill << " Final Bill \n ";
underscore(bill);
}
double kidsmeal(double &mcorsa)
{
double kidsmeal;
kidsmeal = .60 * mcorsa;
}
double calctax(double &tax, double &grat, double sumcors)
{
double totaltxtp;
totaltxtp = ((tax*sumcors) + sumcors)*grat +(tax * sumcors);
}
double foods( double sumcorsa, double sumcorsk, double sumdsert)
{
double food;
food = sumcorsa + sumcorsk + sumdsert;
}
double calctotal(double &rmfee, double &dpt, double txntip, double sumcors)
{
double final;
final = sumcors + txntip + rmfee -dpt;
}
Hm….
Yesss, C++!
C++ can define prototype function inside the body of function, even in main or child function.
But, u forgotten define heading() prototype.
And of cors, function should return a value.
Does iomanip have "left" manipulator?
Thank you!
If it wasn’t the National Convention, who was it, and did it ever happen?
The Revolution has led to all the freedom, not taxes.
The state made do with the "assigned" and the requisition of the goods of the Church and the nobles, as well as the spoils of conquest….
So who cares if they are tortured?
How the hell did you get from terrorists to 10-yr. old boys? And you did not make a valid point in response to my question.
Thanks Biz owner and D H you two seem to be the on the ball. It’s nice to see there’s other people out there with common sense. As for the rest of you not only do you fail to answer the question most of the time you fail to make sense.
The Geneva Convention applies only to those who signed it.
Just like any other treaty .
The terrorists don’t follow it , so why should they be pritected by it ? Arn’t these the kind folks who;
1. fly planes into buildings
2. blow up planes full of people
3. fire rockets across borders at civilian areas
4. behead journalists
5. practice the art of suicide bombing
If you make a practice of kicking your dog, the day will come , when the dog bites you .
The day has come and the dogs have big teeth .
How does the fight between the Federalists and the Anti-Federalists during the Constitutional Convention still affect the modern United States?
watch fox news, anti-federalism at its worst.
http://www.occc.net/planner/OverviewFloorPlans.asp
http://www.lcms.org/graphics/assets/media/Witness/Sep04.pdf
This room is sacred ground, and is not advertised to the public at large.
If you need specifications on this room please dial 321-235-****.
Gustov is just a Tropical Storm off of Jamaica right now… but if it goes over the warm waters of the Gulf it could become another devastating Hurricane…
Ray Nagin, the infamous mayor of New Orleans when Katrina hit, has already packed his bags and left the convention to help prepare his city…
Should some other folks go down and help him out this time?
Some other folks such as our current president maybe instead of sending an Arabian horse breeder down there to assess the damage?
I read that it is due to hit the coast next week during the Republican convention. I feel so sorry for the people of N.O today. My god, we must all somehow lend our support if they are devastated again.
Problem:
The Caswell Catering and Convention Service has asked you to write a computer program to produce customer bills. The program should read in the following data from the user:
* Number of Meals
* Cost of a Meal
* Cost of a Dessert
* Room Fee
* Deposit
The following information is given:
* Tax rate is 8%
* Tip rate is 15%
Calculate the following costs:
* Total Cost for Meals
* Total Cost for Dessert (every meal will receive a dessert)
* Total Food Cost (cost for meals and costfor desserts)
* Total Tax (based on food cost)
* Total Tip (based on food cost)
* Balance Due (total food cost, total tax, total tip, room fee – less any deposit)
Display a bill to the screen that shows a heading ("Caswell Catering and Convention Service") along with a detailed listing of all of the user data, costs and balance due (13 items). Be sure your output is neatly lined up using appropriate setw and setprecision.
Algorithm:
This is what I have so far…
1. Get information from user
A.Number of Meals
B.Cost of a Meal
C.Cost of a Dessert
D.Room Fee
E.Deposit
2. Calculate the sum.
????
3.Calculate tax.
a. tax = sum * .08
4. Calculate tip.
a. tip = sum * .15
3. Display results
1. Get information from user
A. Number of Meals = int numMeals
B. Cost of a Meal = float costMeal
C. Cost of a Dessert = float costDessert
D. Room Fee = float costRoom
E. Deposit = float deposit
2. Calculate the total cost for the meals
float totalMealCost = numMeals * costMeal.
3. Calculate the total cost for the desserts
float totalDessertCost = numMeals * costDessert
4. Calculate the total food cost
float totalFoodCost = totalMealCost + totalDessertCost
5. Calculate the total tax
float tax = .08 * totalFoodCost
6. Calculate the total tip
float tip = .15 * totalFoodCost
7. Calculate the balance due
balanceDue = totalFoodCost + tax + tip + costRoom – deposit
8. Display all results, nicely ordered