Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

C# Arithmetic operators

int result; 
 
result = 10 + 5;  // 15
 
result = 10 - 5;  // 5
 
result = 10 * 5;  // 50
 
result = 10 / 5;  // 2
 
result = 10 % 5;  // 0
Source by www.codecademy.com #
 
PREVIOUS NEXT
Tagged: #Arithmetic #operators
ADD COMMENT
Topic
Name
8+5 =