My school for some reason taught me C++ last semester, and now i have to learn C#. I have to do a lab assignment....here it is and here is what I have.

You are required to develop a program that calculates the average exam score for
students taking a course. For this, you need to create two classes – one class for the
Course and another class for the Tester. The Course class has one variable for the course
title, and three methods – Course constructor, GetCourseTitle, and CalculateAve.

class Course
{
private string courseTitle;
public void Course(string title)
{
courseTitle=title
}
public string GetCourseTitle()
{
return courseTitle
}
public float CalculateAvg( int[] score)
{

}
}
class Tester
{
public static void Main()
{

}
}

I just don't know what to do.

Recommended Answers

All 2 Replies

hi slate2006...
so what the problem friend? which part of your program that you want us to help.

The average, and the tester....i just dont really understand the problem

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.