Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #44.3K
Ranked #3K
~1K People Reached
Favorite Forums
Favorite Tags

4 Posted Topics

Member Avatar for princessophia

You have to change the data type of height. At this yime it can store a 0 or 1. Not 2-5 ok so you have to switch to int type. int height; if you get solve your problem I will also tell you some tricks to short this code. first …

Member Avatar for UFOOOOOOOOOOO
0
288
Member Avatar for donlxu

dear you are doing an error in line 20. Declare and initialize denominator before the loop start not with in the loop. beacause every time it will assin value 1, and you are getting same result. only edit it and fix it.

Member Avatar for donlxu
0
221
Member Avatar for sportguy98

you must convert each character of string to a character type variable and the using type casting you can do it. i,e. char ch = 'A'; int en = ch; //en == 65; en = en + 3; char = en; // char == D;

Member Avatar for ddanbe
0
209
Member Avatar for abhig

class student class student { protected: char name[30]; int attendence; float gpa; public: stuent(){} student(char n[],int a, flat g):attendence(a), gpa(g){strcpy(name, n);} ~student(){} virtual get_attendence() { cout<<"Enter his atendence (out of 50) : "; cin>>attendence; } virtual get_result() { cout<<"Enter your Gpa (out of 4.00) : "; cin>>gpa; } }; this …

Member Avatar for abhig
0
301

The End.