0
How to make an average arithmetic of numbers (2,5) using c# language?
i need the full program
1 Answer
+ 1
if you want the average of some numbers, you add all the numbers together and then divide by the amount of numbers you added
for example:
//code starts here
int n1 = 2;
int n2 = 5;
var result = (n1 + n2) / 2;