Beginning Programming with C# 路 Calculating the Average | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/603984-beginning-programming-with-c/lessons/6

This one worked for me :smiley:

        int iPad = 300;
        int car = 500;
        int gameConsole = 700;

        int average = 3;

        int result = (iPad + car + gameConsole) / average;


        Console.WriteLine(result);

@lexx8899 Thank you for sharing this - much appreciated! :]

I did the same, too :v: