About Exercises And Notes

First Exercise
This is a coding exercise.
int values = 0;
int sum = 0;
while (true)
{
Console.WriteLine("Provide a value, a negative value ends the program");
int value = Convert.ToInt32(Console.ReadLine());
if (value < 0)
{
break;
}
values = values + 1;
sum = sum + value;
}
if (sum == 0)
{
Console.WriteLine("The average of the values could not be calculated.");
}
else
{
Console.WriteLine("Average of values: " + (1.0 * sum / value));
}

Submission Instructions

How to see the solution

Dummy text between tags.

Exercise 1.5

You will find following structure in the exercise:

using System;
namespace exercise_05
{
class Program
{
public static void Main(string[] args)
{
string name = "Ada Lovelace";
// Write your code here:
}
}
}

This is not a coding exorcist.

Submission Instructions

How to see the solution

Note!
This is just a message for someone to read