Title Printing Sum of Integers from 1 to i, Where i Ranges from 1 to N
Catalog Type SLCItem
Persistent ID https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/user_study__664e284a91363872f0ba33dd?index=9
Platform Name PCEX
Features
Description Construct a program that receives an integer N and then prints the sum of integers from 1 to i, where i ranges from 1 to N. More specifically, the following sums will be printed:\n1\n1+2\n1+2+3\n...\n1+2+3+...+N
Keywords
Author Mohammad Hassany
Institution University of Pittsburgh
Iframe URL https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/user_study__664e284a91363872f0ba33dd?index=9
Protocol SPLICE
Protocol URL
License MIT
Programming Language JAVA
Natural Language en

Preview

SPLICE Output