View Single Post
  #1 (permalink)  
Old July 5th, 2014, 11:18 AM
nicogando nicogando is offline
Registered User
Points: 10, Level: 1
Points: 10, Level: 1 Points: 10, Level: 1 Points: 10, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2014
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Post Variable and Calculations

i need a help of solving this problem
Two students take a C# exam, and their results are assigned to two variables:

int mark1 = 44;
int mark2 = 51;

write a program which calculates and displays the average mark as an int value
thank you