void GenerateNormal(float x[3], float y[3], float z[3], float &ox, float &oy, float &oz)
{
//Calculate coordinates for a glNormal and return them ox,oy and oz
}

I have a sinking feeling that the math will be quite difficult. Can anybody help me?

The math is very simple. Take the difference between two pair of points (like pt2 - pt1, and pt3 - pt1) to get two vectors, take the cross-product of the vectors, and normalize it. That's it. In other words:

write a C++ program which take inputs from the user/keyboard and calculate his ZAKAT.
get the input from user may include
-Bank balance
-Amount invested in business
-Amount given to other business partners as loan
and
-Amount payable to others

I made a prime number finder, it finds the nearest prime that is above and below any integer (Does not work that well with giant numbers.)
Made this in cpp.sh
Why would I need the x=y+1-1;?
x=y; just doesnt seem to work
Why is this?
And I know my coding ...

there are five tables (personTb, addressTb,churchTb) each holds data pertinent to an individual; (personAddress,personChurch) each hold the primary key for the person table and corresponding table IE personAddress holds primary key for addressTb.

both snippets work, my question is; Is my join correctly formatted?