ok just figured it out myself thanks for the input guys!!!
Type: Posts; User: guyver074
ok just figured it out myself thanks for the input guys!!!
Ok now I am getting an errors one says error c2143 syntax error: missing';' before '<<'. and here again is my updated code as it stands.
#include <iostream>
#include <string>
using namespace std;...
here's my updated code to reflect my changes on the suggestions you have made
#include <iostream>
#include <string>
using namespace std;
int main()
{
//declaring variables
Also I'm getting no errors at all
OK ty will do that next time this is our 1st assignment for this class I'm sure the code is right just don't know why it will let me enter my name,enter grades then give me the avg. of those 5 grades...
Thanks std10093!!
oooh never though of that.
ok thanks! I did take the 2nd main function out but still getting the same result.
Hi all i have an assignment to take enter 5 grades then average them, then enter 2 whole numbers and divide them to output one whole number with it's remainder.I'm stuck at the moment because it runs...