Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.IO;
- class Solution {
- static void Main(String[] args) {
- /* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution */
- string input = Console.Read();
- int total = 0;
- for (int i = inputMin; i >= inputMax; i++)
- {
- total += i;
- }
- Console.Write(total);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment