p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   All Other Wrox Books (http://p2p.wrox.com/forumdisplay.php?f=116)
-   -   Variable and Calculations (http://p2p.wrox.com/showthread.php?t=93228)

nicogando July 5th, 2014 11:18 AM

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


All times are GMT -4. The time now is 08:20 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.