# data[].attributes.body
http://www.tutorialspoint.com/cplusplus/cpp_loop_types.htm

http://www.cplusplus.com/doc/tutorial/control/

http://en.wikibooks.org/wiki/C%2B%2B_Programming/Programming_Languages/C%2B%2B/Code/Statements/Flow_Control

# data[].attributes.attachment_link.readable_text
#include <iostream>
using namespace std;
int main()
{
	double mark;
	int counter=0;
	//LOOP 5X:
	while( counter<5) 
	{
		cout << "\n Enter your mark: ";
		cin >> mark;

		if (mark > 100)
		{
			cout << "\n Invalid mark... \n";
		}
		else if (mark >= 80)
		{
			cout << "\n your grade = A \n";
		}
		else if (mark >= 75)
		{
			cout << "\n your grade = A- \n";
		}
		else if (mark >= 70)
		{
			cout << "\n your grade = B+ \n";
		}
		else if (mark >= 65)
		{
			cout << "\n your grade = B \n";
		}
		else if (mark >= 60)
		{
			cout << "\n your grade = B- \n";
		}
		else if (mark >= 55)
		{
			cout << "\n your grade = C+ \n";
		}
		else if (mark >= 50)
		{
			cout << "\n your grade = C \n";
		}
		else if (mark >= 47)
		{
			cout << "\n your grade = D+ \n";
		}
		else if (mark >= 45)
		{
			cout << "\n your grade = D \n";
		}
		else if (mark >= 40)
		{
			cout << "\n your grade = D- \n";
		}
		else if (mark >= 0)
		{
			cout << "\n your grade = E \n";
		}
		else 	// mark < 0
		{
			cout << "\n Invalid mark...\n";
		}
	
		counter++;
	} //end while
	return 0;
}

# data[].attributes.attachment_link.readable_text
#include <iostream>
using namespace std;
int main()
{
	double mark;
	
	//LOOP 5X:
	for(int counter=0; counter<5; counter++) 
	{
	cout << "\n Enter your mark: ";
	cin >> mark;

	if (mark > 100)
	{
		cout << "\n Invalid mark... \n";
	}
	else if (mark >= 80)
	{
		cout << "\n your grade = A \n";
	}
	else if (mark >= 75)
	{
		cout << "\n your grade = A- \n";
	}
	else if (mark >= 70)
	{
		cout << "\n your grade = B+ \n";
	}
	else if (mark >= 65)
	{
		cout << "\n your grade = B \n";
	}
	else if (mark >= 60)
	{
		cout << "\n your grade = B- \n";
	}
	else if (mark >= 55)
	{
		cout << "\n your grade = C+ \n";
	}
	else if (mark >= 50)
	{
		cout << "\n your grade = C \n";
	}
	else if (mark >= 47)
	{
		cout << "\n your grade = D+ \n";
	}
	else if (mark >= 45)
	{
		cout << "\n your grade = D \n";
	}
	else if (mark >= 40)
	{
		cout << "\n your grade = D- \n";
	}
	else if (mark >= 0)
	{
		cout << "\n your grade = E \n";
	}
	else 	// mark < 0
	{
		cout << "\n Invalid mark...\n";
	}
	
	} //end for
	return 0;
}
