Advertisement
KodingKid

C# Calculations using Calculations

Mar 30th, 2021
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.15 KB | None | 0 0
  1. int sum1 = 250 + 75; //325
  2. int sum2 = sum1 + 125; //450
  3. int sum3 = sum2 + sum2; //900
  4. int sum4 = sum3 + sum1; //1225
  5. int sum5 = sum4 + 1000; //2225
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement