#include <iostream>
#include <string>
using namespace std;
int main () {
string date;
int mark;
void displayrow (int mark =1; mark <=n; i++){
if for (mark >60; date < 2000;) ++i)
cout << "Congratulations! Extreamly good!" << endl;
else
if (mark >60; date =< 2000)
cout << "Congratulations ! very good!" << endl;
}
else
if (mark =< 50; mark >= 60 && date < 2000){
cout << "Congratulations!" << endl;
}
else
if (mark > 50){
cout << "Unfortunaltely you got less than 50." << endl;
}
cout << "Enter the mark obtaind: ";
cin >> mark;
cout << "Enter the year you last wrote a comprehension test: ";
cin >> date;
//cout << "previous test before: " << date << endl;
mark<0;
while (mark!=0){
cout << "Enter the mark obtaind: ";
cin >> mark;
cout << "Enter the year you last wrote a comprehension test: ";
cin >> date;
return 0;
}
This post has been edited by Dark_Nexus: 06 May 2006 - 07:08 PM

New Topic/Question
Reply



MultiQuote







|