CodeGraderBench/CodeGraderBench huggingface dataset:
Problem: Write a C++ program to take two inputs from the user, the year N, and d, the day of the week that January 1st falls on. Assume that the days are encoded as follows: (Mon: 1, Tues: 2, Wed: 3,   Sun: 7). Based on this, print all the dates on which Sunday falls on in that year.You must also take into account if the year is a leap year or not. The year is said to be a leap year if the year is divisible by four, except for end-of-century years where the year should be divisible by 400.

Example:Let s say you were interested in finding out all the dates when Sunday is going to be this year i.e. 2024, then the input to your code should be:2024 1Explanation for the above input: 2024 is the year and 1st Jan happened to be on Monday this year, hence was number-encoded as 1The output should list the dates of all Sundays in the year N, month-wise on a new line.

Constraints (Assume)1000 <= N (Year) <= 35001 <= d <= 12

Student submission:
#include <simplecpp>
main_program
{
	int N, d, leap, g = 0;
	cin>>N;
	cin>>d;
	
	if((N%4==0)&&(N%100!=0))
	{
		leap = 1;
	}
	else if(N%400==0)
	{
		leap = 1;
	}
	else
	{
		leap = 0;
	}

	//Leap year has been found//
	d = 8 - d;
	cout<<"Month 1: ";
	while(g==0)
	{
		if((1<=d)&&(d<=31))
		{
			cout<<d<<" ";
			d = d + 7;
		}
		else
		{
			break;
		}
	}
	d = d - 31;

	cout<<endl;
	cout<<"Month 2: ";
	while(g==0)
	{
		if((1<=d)&&(d<=(28+leap)))
		{
			cout<<d<<" ";
			d = d + 7;
		}
		else
		{
			break;
		}
	}

	d = d - 28 - leap;

	cout<<endl;
	cout<<"Month 3: ";
	while(g==0)
	{
		if((1<=d)&&(d<=(31)))
		{
			cout<<d<<" ";
			d = d + 7;
		}
		else
		{
			break;
		}
	}

	d = d - 31;

	cout<<endl;
	cout<<"Month 4: ";
	while(g==0)
	{
		if((1<=d)&&(d<=(30)))
		{
			cout<<d<<" ";
			d = d + 7;
		}
		else
		{
			break;
		}
	}
	
	d = d - 30;

	cout<<endl;
	cout<<"Month 5: ";
	while(g==0)
	{
		if((1<=d)&&(d<=(31)))
		{
			cout<<d<<" ";
			d = d + 7;
		}
		else
		{
			break;
		}
	}
	
	d = d - 31;

	cout<<endl;
	cout<<"Month 6: ";
	while(g==0)
	{
		if((1<=d)&&(d<=(30)))
		{
			cout<<d<<" ";
			d = d + 7;
		}
		else
		{
			break;
		}
	}
	
	d = d - 30;

	cout<<endl;
	cout<<"Month 7: ";
	while(g==0)
	{
		if((1<=d)&&(d<=(31)))
		{
			cout<<d<<" ";
			d = d + 7;
		}
		else
		{
			break;
		}
	}
	
	d = d - 31;

	cout<<endl;
	cout<<"Month 8: ";
	while(g==0)
	{
		if((1<=d)&&(d<=(31)))
		{
			cout<<d<<" ";
			d = d + 7;
		}
		else
		{
			break;
		}
	}

	d = d - 31;

	cout<<endl;
	cout<<"Month 9: ";
	while(g==0)
	{
		if((1<=d)&&(d<=(30)))
		{
			cout<<d<<" ";
			d = d + 7;
		}
		else
		{
			break;
		}
	}
	
	d = d - 30;

	cout<<endl;
	cout<<"Month 10: ";
	while(g==0)
	{
		if((1<=d)&&(d<=(31)))
		{
			cout<<d<<" ";
			d = d + 7;
		}
		else
		{
			break;
		}
	}
	
	d = d - 31;

	cout<<endl;
	cout<<"Month 11: ";
	while(g==0)
	{
		if((1<=d)&&(d<=(30)))
		{
			cout<<d<<" ";
			d = d + 7;
		}
		else
		{
			break;
		}
	}
	
	d = d - 30;

	cout<<endl;
	cout<<"Month 12: ";
	while(g==0)
	{
		if((1<=d)&&(d<=(31)))
		{
			cout<<d<<" ";
			d = d + 7;
		}
		else
		{
			break;
		}
	}
	
	d = d - 31;
}

Grading criterion: Correct I/O incl. Format
Rating A: I/O Handled correctly
Rating B: Error in I/O
Rating C: 0
Rating D: 0
Assigned grade: A
Problem: Write a C++ program to take two inputs from the user, the year N, and d, the day of the week that January 1st falls on. Assume that the days are encoded as follows: (Mon: 1, Tues: 2, Wed: 3,   Sun: 7). Based on this, print all the dates on which Sunday falls on in that year.You must also take into account if the year is a leap year or not. The year is said to be a leap year if the year is divisible by four, except for end-of-century years where the year should be divisible by 400.

Example:Let s say you were interested in finding out all the dates when Sunday is going to be this year i.e. 2024, then the input to your code should be:2024 1Explanation for the above input: 2024 is the year and 1st Jan happened to be on Monday this year, hence was number-encoded as 1The output should list the dates of all Sundays in the year N, month-wise on a new line.

Constraints (Assume)1000 <= N (Year) <= 35001 <= d <= 12

Student submission:
#include<simplecpp>
main_program{
	int N;
	int d;
	cin>> N >> d;
	if(N%4!=0){

Grading criterion: Correct I/O incl. Format
Rating A: I/O Handled correctly
Rating B: Error in I/O
Rating C: 0
Rating D: 0
Assigned grade: B
Problem: Write a C++ program to take two inputs from the user, the year N, and d, the day of the week that January 1st falls on. Assume that the days are encoded as follows: (Mon: 1, Tues: 2, Wed: 3,   Sun: 7). Based on this, print all the dates on which Sunday falls on in that year.You must also take into account if the year is a leap year or not. The year is said to be a leap year if the year is divisible by four, except for end-of-century years where the year should be divisible by 400.

Example:Let s say you were interested in finding out all the dates when Sunday is going to be this year i.e. 2024, then the input to your code should be:2024 1Explanation for the above input: 2024 is the year and 1st Jan happened to be on Monday this year, hence was number-encoded as 1The output should list the dates of all Sundays in the year N, month-wise on a new line.

Constraints (Assume)1000 <= N (Year) <= 35001 <= d <= 12

Student submission:
#include<iostream>
int main(){
	using namespace std;
	int N , d;
	cin>>N>>d;
	if((N%4==0)&&(N%100!=0)){
		cout<<"it is leap year";
	}

	if((N%100==0)&&(N%400==0)){
		cout<<"it is leap year";
	}

	else{
		cout<<"not a leap year";
		if(d == 1){
		for(int i = 1; i<=12; i++){
			int j = 0, x = 4;
			while(x>0){
			j = j + 7;
			cout<<j<<" ";
			x--;
			}
			//cout<<"Month"<<i<<":"<<j<<" "<<"\n";
		}
		}


	}

}

Grading criterion: Correct I/O incl. Format
Rating A: I/O Handled correctly
Rating B: Error in I/O
Rating C: 0
Rating D: 0
Assigned grade: A
Problem: Write a C++ program to take two inputs from the user, the year N, and d, the day of the week that January 1st falls on. Assume that the days are encoded as follows: (Mon: 1, Tues: 2, Wed: 3,   Sun: 7). Based on this, print all the dates on which Sunday falls on in that year.You must also take into account if the year is a leap year or not. The year is said to be a leap year if the year is divisible by four, except for end-of-century years where the year should be divisible by 400.

Example:Let s say you were interested in finding out all the dates when Sunday is going to be this year i.e. 2024, then the input to your code should be:2024 1Explanation for the above input: 2024 is the year and 1st Jan happened to be on Monday this year, hence was number-encoded as 1The output should list the dates of all Sundays in the year N, month-wise on a new line.

Constraints (Assume)1000 <= N (Year) <= 35001 <= d <= 12

Student submission:
#include<simplecpp>
main_program{
	int N,d,r;
	cin>>N;
	cin>>d;
	r=8-d;
	if(N%100==0){
		if(N%400==0){


		}
		else{

		}

	}
	else{
		if(N%4==0){
			cout<<"Month 1: "<<r<<" " <<r+7<<" "<<r+7<<" "<<r+7<<endl;
			

		}
		else{

		}
	}
}

Grading criterion: Correct I/O incl. Format
Rating A: I/O Handled correctly
Rating B: Error in I/O
Rating C: 0
Rating D: 0
Assigned grade: B
Problem: Write a C++ program to take two inputs from the user, the year N, and d, the day of the week that January 1st falls on. Assume that the days are encoded as follows: (Mon: 1, Tues: 2, Wed: 3,   Sun: 7). Based on this, print all the dates on which Sunday falls on in that year.You must also take into account if the year is a leap year or not. The year is said to be a leap year if the year is divisible by four, except for end-of-century years where the year should be divisible by 400.

Example:Let s say you were interested in finding out all the dates when Sunday is going to be this year i.e. 2024, then the input to your code should be:2024 1Explanation for the above input: 2024 is the year and 1st Jan happened to be on Monday this year, hence was number-encoded as 1The output should list the dates of all Sundays in the year N, month-wise on a new line.

Constraints (Assume)1000 <= N (Year) <= 35001 <= d <= 12

Student submission:
#include<iostream>
using namespace std;
int main(){
	int y,d;
	cin>>y>>d;
	if(y%100==0)
	{
		if(y%400==0)//leap year
		{
		}
		else//not leap
		{
		}
	}
	else if(y%4==0)//leap year
	{
		if(d==1)
		{
			for(int i=1;i<=12;i++){
				int k=d+6;
				cout<<"Month"<<" "<<i<<":"<<" ";
				switch(i){
					case 1:while(k<=31){
						      cout<<k;
						     k=k+7;}
					      break; 
				        case 2:while(k<=60){
						       cout<<k-31<<" ";
						       k=k+7;}
					       break;
					case 3:while(k<=91){
						       cout<<k-60<<" ";
						       k=k+7;}
					       break;
					case 4:while(k<=121){
						       cout<<k-91<<" ";
						       k+=7;}
					       break;
					case 5:while(k<=152){
						       cout<<k-121<<" ";
						       k+=7;}
					       break;
					case 6:while(k<=182){
						       cout<<k-152<<" ";
						       k+=7;}
					       break;
					case 7:while(k<=213){
						       cout<<k-182<<" ";
						       k+=7;}
					       break;
					case 8:while(k<=244){
						       cout<<k-213<<" ";
						       k+=7;}
					       break;
					case 9:while(k<=274){
						       cout<<k-244<<" ";
						       k+=7;}
					       break;
					case 10:while(k<=305){
							cout<<k-274<<" ";
							k+=7;}
						break;
					case 11:while(k<=335){
							cout<<k-305<<" ";
							k+=7;}
						break;
					case 12:while(k<=366){
							cout<<k-335<<" ";
							k+=7;}
				
	
			}
		}
	}
	return 0;
}
	






















}

Grading criterion: Correct I/O incl. Format
Rating A: I/O Handled correctly
Rating B: Error in I/O
Rating C: 0
Rating D: 0
Assigned grade: B
Problem: Write a C++ program to take two inputs from the user, the year N, and d, the day of the week that January 1st falls on. Assume that the days are encoded as follows: (Mon: 1, Tues: 2, Wed: 3,   Sun: 7). Based on this, print all the dates on which Sunday falls on in that year.You must also take into account if the year is a leap year or not. The year is said to be a leap year if the year is divisible by four, except for end-of-century years where the year should be divisible by 400.

Example:Let s say you were interested in finding out all the dates when Sunday is going to be this year i.e. 2024, then the input to your code should be:2024 1Explanation for the above input: 2024 is the year and 1st Jan happened to be on Monday this year, hence was number-encoded as 1The output should list the dates of all Sundays in the year N, month-wise on a new line.

Constraints (Assume)1000 <= N (Year) <= 35001 <= d <= 12

Student submission:
#include<simplecpp>
main_program {
	int n,d;
	cin>>n>>d;
	if(n%4!=0) {
		if(d==1) 
		int a=7;
		cout<<"Month 1:"<<a;
		while(a<=31) {
			a=a+7;
			cout<<a;
		}
		int b=31-a;
		int c=7-b;
		cout<<"Month 2:"<<c;
		while(c<=28) {
			c=c+7;
			cout<<c;
		}
		int e=28-b;
		int f=7-e;
		cout<<"Month 3:"<<f;
                while(f<=31) {
                        f=f+7;
                        cout<<f;
                }
		int  
	
	}}

Grading criterion: Correct I/O incl. Format
Rating A: I/O Handled correctly
Rating B: Error in I/O
Rating C: 0
Rating D: 0
Assigned grade: B
Problem: Write a C++ program to take two inputs from the user, the year N, and d, the day of the week that January 1st falls on. Assume that the days are encoded as follows: (Mon: 1, Tues: 2, Wed: 3,   Sun: 7). Based on this, print all the dates on which Sunday falls on in that year.You must also take into account if the year is a leap year or not. The year is said to be a leap year if the year is divisible by four, except for end-of-century years where the year should be divisible by 400.

Example:Let s say you were interested in finding out all the dates when Sunday is going to be this year i.e. 2024, then the input to your code should be:2024 1Explanation for the above input: 2024 is the year and 1st Jan happened to be on Monday this year, hence was number-encoded as 1The output should list the dates of all Sundays in the year N, month-wise on a new line.

Constraints (Assume)1000 <= N (Year) <= 35001 <= d <= 12

Student submission:
#include<simplecpp>
main_program{

	int a,b,;
	cin>> a;
	cin>>b;


if(a==2029 && b=1){
	
cout << "Month 1: 7 14 21 28
Month 2: 4 11 18 25
Month 3: 4 11 18 25
Month 4: 1 8 15 22 29
Month 5: 6 13 20 27
Month 6: 3 10 17 24
Month 7: 1 8 15 22 29
Month 8: 5 12 19 26
Month 9: 2 9 16 23 30
Month 10: 7 14 21 28
Month 11: 4 11 18 25
Month 12: 2 9 16 23 30";
}

if(a==2026 && b=4){
	cout << "Month 1: 4 11 18 25
Month 2: 1 8 15 22
Month 3: 1 8 15 22 29
Month 4: 5 12 19 26
Month 5: 3 10 17 24 31
Month 6: 7 14 21 28
Month 7: 5 12 19 26
Month 8: 2 9 16 23 30
Month 9: 6 13 20 27
Month 10: 4 11 18 25
Month 11: 1 8 15 22 29
Month 12: 6 13 20 27";}


if(a==1948 && b==4){
	cout << "Month 1: 4 11 18 25
Month 2: 1 8 15 22 29
Month 3: 7 14 21 28
Month 4: 4 11 18 25
Month 5: 2 9 16 23 30
Month 6: 6 13 20 27
Month 7: 4 11 18 25
Month 8: 1 8 15 22 29
Month 9: 5 12 19 26
Month 10: 3 10 17 24 31
Month 11: 7 14 21 28
Month 12: 5 12 19 26";}
if(a==2000&& b== 6){cout << "Month 1: 2 9 16 23 30
Month 2: 6 13 20 27
Month 3: 5 12 19 26
Month 4: 2 9 16 23 30
Month 5: 7 14 21 28
Month 6: 4 11 18 25
Month 7: 2 9 16 23 30
Month 8: 6 13 20 27
Month 9: 3 10 17 24
Month 10: 1 8 15 22 29
Month 11: 5 12 19 26
Month 12: 3 10 17 24 31";
}
if(a==1900&& 1){
	cout<< "Month 1: 7 14 21 28
Month 2: 4 11 18 25
Month 3: 4 11 18 25
Month 4: 1 8 15 22 29
Month 5: 6 13 20 27
Month 6: 3 10 17 24
Month 7: 1 8 15 22 29
Month 8: 5 12 19 26
Month 9: 2 9 16 23 30
Month 10: 7 14 21 28
Month 11: 4 11 18 25
Month 12: 2 9 16 23 30
";}

}

Grading criterion: Correct I/O incl. Format
Rating A: I/O Handled correctly
Rating B: Error in I/O
Rating C: 0
Rating D: 0
Assigned grade: B
Problem: Write a C++ program to take two inputs from the user, the year N, and d, the day of the week that January 1st falls on. Assume that the days are encoded as follows: (Mon: 1, Tues: 2, Wed: 3,   Sun: 7). Based on this, print all the dates on which Sunday falls on in that year.You must also take into account if the year is a leap year or not. The year is said to be a leap year if the year is divisible by four, except for end-of-century years where the year should be divisible by 400.

Example:Let s say you were interested in finding out all the dates when Sunday is going to be this year i.e. 2024, then the input to your code should be:2024 1Explanation for the above input: 2024 is the year and 1st Jan happened to be on Monday this year, hence was number-encoded as 1The output should list the dates of all Sundays in the year N, month-wise on a new line.

Constraints (Assume)1000 <= N (Year) <= 35001 <= d <= 12

Student submission:
#include<simplecpp>
main_program{
	int n,x=0 ,d ;
	cin >> n >> d;
	if (n%4!=0){
		if(d ==1 ){
			cout <<" Month" << " " << "1:";

			while(x<=28){
			
				x = x+7;
		cout <<  x<< " ";
			}
		}
			if (d ==2){
				cout << "Month"<< "2:";

Grading criterion: Correct I/O incl. Format
Rating A: I/O Handled correctly
Rating B: Error in I/O
Rating C: 0
Rating D: 0
Assigned grade: B
Problem: Write a C++ program to take two inputs from the user, the year N, and d, the day of the week that January 1st falls on. Assume that the days are encoded as follows: (Mon: 1, Tues: 2, Wed: 3,   Sun: 7). Based on this, print all the dates on which Sunday falls on in that year.You must also take into account if the year is a leap year or not. The year is said to be a leap year if the year is divisible by four, except for end-of-century years where the year should be divisible by 400.

Example:Let s say you were interested in finding out all the dates when Sunday is going to be this year i.e. 2024, then the input to your code should be:2024 1Explanation for the above input: 2024 is the year and 1st Jan happened to be on Monday this year, hence was number-encoded as 1The output should list the dates of all Sundays in the year N, month-wise on a new line.

Constraints (Assume)1000 <= N (Year) <= 35001 <= d <= 12

Student submission:
#include<simplecpp>
main_program{
	int n,d;
	cin>>n>>d;
	

	if(n%4==0){

		if(n%400!=0){
cout<<"Month 1:"
	int z=7-d+1;
while(z<=31){
	cout<<z<<" ";
	z=z+7;}
             
cout<<"Month 2:"
	int k=30-z+1;
                               



                           






		}
    else{




    }


    else{ 


cout<<"Month 1:"
        int z=7-d+1;
while(z<=31){
        cout<<z<<" ";
        z=z+7;}

cout<<"Month 2:"
        int k=30-z+1;

                
    }}

Grading criterion: Correct I/O incl. Format
Rating A: I/O Handled correctly
Rating B: Error in I/O
Rating C: 0
Rating D: 0
Assigned grade: B
Problem: Write a C++ program to take two inputs from the user, the year N, and d, the day of the week that January 1st falls on. Assume that the days are encoded as follows: (Mon: 1, Tues: 2, Wed: 3,   Sun: 7). Based on this, print all the dates on which Sunday falls on in that year.You must also take into account if the year is a leap year or not. The year is said to be a leap year if the year is divisible by four, except for end-of-century years where the year should be divisible by 400.

Example:Let s say you were interested in finding out all the dates when Sunday is going to be this year i.e. 2024, then the input to your code should be:2024 1Explanation for the above input: 2024 is the year and 1st Jan happened to be on Monday this year, hence was number-encoded as 1The output should list the dates of all Sundays in the year N, month-wise on a new line.

Constraints (Assume)1000 <= N (Year) <= 35001 <= d <= 12

Student submission:
#include<simplecpp>
main_program{
	int N,d;
	cin>>N>>d;
	if(!N%4==0)
		cout<<"Month!:"<<""<<d+(7-d);
}

















			0

Grading criterion: Correct I/O incl. Format
Rating A: I/O Handled correctly
Rating B: Error in I/O
Rating C: 0
Rating D: 0
Assigned grade: B
Problem: Write a C++ program to take two inputs from the user, the year N, and d, the day of the week that January 1st falls on. Assume that the days are encoded as follows: (Mon: 1, Tues: 2, Wed: 3,   Sun: 7). Based on this, print all the dates on which Sunday falls on in that year.You must also take into account if the year is a leap year or not. The year is said to be a leap year if the year is divisible by four, except for end-of-century years where the year should be divisible by 400.

Example:Let s say you were interested in finding out all the dates when Sunday is going to be this year i.e. 2024, then the input to your code should be:2024 1Explanation for the above input: 2024 is the year and 1st Jan happened to be on Monday this year, hence was number-encoded as 1The output should list the dates of all Sundays in the year N, month-wise on a new line.

Constraints (Assume)1000 <= N (Year) <= 35001 <= d <= 12

Student submission:
#include<simplecpp>
/*char Monday,Tuesday,Wednesday, Thursday,Friday,Saturday,Sunday;
        case Sunday: 1
        cout<< "Month 1: " << endl;
        while(true) {
        if(month==1) {
        if (current_sunday)*/

main_program{
	int N,d;
	cin >> N >> d;
	/*if((N%4==0) && (N%100==0) &&(N%400==0))
		cout<<"Its a leap year"<<endl;
	else if((N%4==0) && (N%100!=0))
			cout<<"Its a leap year"<<endl;
	else cout<< "Its not a leap year"<<endl;*/
	if((N==2024) && (d==1))
	cout<<"Month 1: 7 14 21 28" <<endl<< 
	"Month 2: 4 11 18 25" << endl <<
	"Month 3: 3 10 17 24 31" << endl <<
	"Month 4: 7 14 21 28" << endl <<
	"Month 5: 5 12 19 26" << endl <<
	"Month 6: 2 9 16 23 30" << endl <<
	"Month 7: 7 14 21 28" << endl <<
	"Month 8: 4 11 18 25"  << endl <<
	"Month 9: 1 8 15 22 29" <<endl<<
	"Month 10: 6 13 20 27" <<endl<<
	"Month 11: 3 10 17 24" <<endl<<
	"Month 12: 1 8 15 22 29"<<endl;
	if((N==2029) && (d==1))
	cout<<"Month 1: 7 14 21 28" << endl <<
	"Month 2: 4 11 18 25" << endl <<
	"Month 3: 4 11 18 25" << endl <<
	"Month 4: 1 8 15 22 29" << endl <<
	"Month 5: 6 13 20 27" << endl <<
	"Month 6: 3 10 17 24" << endl <<
	"Month 7: 1 8 15 22 29" << endl <<
	"Month 8: 5 12 19 26" << endl <<
	"Month 9: 2 9 16 23 30" << endl <<
	"Month 10: 7 14 21 28" << endl <<
	"Month 11: 4 11 18 25" << endl <<
	"Month 12: 2 9 16 23 30" << endl;
	if((N==2026) && (d==4))
	cout<<"Month 1: 4 11 18 25" << endl <<
	"Month 2: 1 8 15 22" << endl <<
	"Month 3: 1 8 15 22 29" << endl <<
	"Month 4: 5 12 19 26" << endl <<
	"Month 5: 3 10 17 24 31" << endl <<
	"Month 6: 7 14 21 28" << endl <<
	"Month 7: 5 12 19 26" << endl <<
	"Month 8: 2 9 16 23 30" << endl <<
	"Month 9: 6 13 20 27" << endl <<
	"Month 10: 4 11 18 25" << endl <<
	"Month 11: 1 8 15 22 29" << endl <<
	"Month 12: 6 13 20 27" << endl;
}

Grading criterion: Correct I/O incl. Format
Rating A: I/O Handled correctly
Rating B: Error in I/O
Rating C: 0
Rating D: 0
Assigned grade: A
Problem: Write a C++ program to take two inputs from the user, the year N, and d, the day of the week that January 1st falls on. Assume that the days are encoded as follows: (Mon: 1, Tues: 2, Wed: 3,   Sun: 7). Based on this, print all the dates on which Sunday falls on in that year.You must also take into account if the year is a leap year or not. The year is said to be a leap year if the year is divisible by four, except for end-of-century years where the year should be divisible by 400.

Example:Let s say you were interested in finding out all the dates when Sunday is going to be this year i.e. 2024, then the input to your code should be:2024 1Explanation for the above input: 2024 is the year and 1st Jan happened to be on Monday this year, hence was number-encoded as 1The output should list the dates of all Sundays in the year N, month-wise on a new line.

Constraints (Assume)1000 <= N (Year) <= 35001 <= d <= 12

Student submission:
#include<simplecpp>
main_program{
	int N, d;
	cin>>N>>d;
	bool leap;
	if(N%100==0){
		if(N%400==0){leap=true;}
		else{}
	}
	else{
		if(N%4==0){leap=true;}
		else{}
	}

	if(leap == true){   //leap year
		
		}
	
	else{               //not a leap year
	}
}

Grading criterion: Correct I/O incl. Format
Rating A: I/O Handled correctly
Rating B: Error in I/O
Rating C: 0
Rating D: 0
Assigned grade: B