vendredi 30 janvier 2015

C++ Error:expected primary expression during building


include


float SimpleInterest(float x,float y,float z); int main() { using namespace std; cout<<"Enter a principal amount"<>x; cout<<"Enter the rate"<>y; cout<<"Enter the time period"<>z; return 0; cout<<"The Simple Interest is:"<< float SimpleInterest(float x,float y,float z)<


} float SimpleInterest(float x,float y,float z) { return xyz/100; }





Aucun commentaire:

Enregistrer un commentaire