Draft

Sum of values from 1 to n inclusive { nΣn=1 }

660 of 1,493TanYiXun

Description:

In this Kata , your job is to write a program that finds the sum of the numbers from 1 to n.

e.g.
total(10) => 55
total(20) => 210
total(34) => 595

If you are unsure of what output you got, You can use console.log("Your output") to check

{ My first Kata , So hope you like it }

Fundamentals

Stats:

CreatedJul 16, 2016
Warriors Trained2537
Total Skips248
Total Code Submissions6188
Total Times Completed1493
JavaScript Completions660
Ruby Completions70
Python Completions406
C# Completions151
C++ Completions156
CoffeeScript Completions12
Java Completions141
Total Stars18
% of votes with a positive feedback rating76% of 734
Total "Very Satisfied" Votes464
Total "Somewhat Satisfied" Votes193
Total "Not Satisfied" Votes77
Total Rank Assessments690
Average Assessed Rank
7 kyu
Highest Assessed Rank
1 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • TanYiXun Avatar
  • GiacomoSorbi Avatar
  • user8476848 Avatar
  • Chrono79 Avatar
  • ArcaneIntegers Avatar
  • user4912975 Avatar
  • Blind4Basics Avatar
  • nekokat Avatar
  • user9277937 Avatar
Ad