class Card
{
//Base for the Card class.
//Value: numbers 1 - 13
//Suit: numbers 1 - 4
//The 'set' methods for these properties could have some validation
// public int Value { get; set; }
// public int Suit { get; set; }
// public...
The teacher gave us this exercise:
"Write a program that calculates and displays the average of 10 typed grades. Consider valid notes, only values between 0 (zero) and 10 (ten). If the user enters any invalid value, a message should be displayed stating what happened."
I wrote a code that is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.