Title Printing A Sequence of Repeated Numbers
Catalog Type SLCItem
Persistent ID https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/user_study__664e284a91363872f0ba33dd?index=8
Platform Name PCEX
Features
Description Construct a program that receives an integer N from the user and prints a sequence of space-separated numbers from 1 to N such that each number in the sequence is repeated 5 times. For example, if N is 6, the program will print the following sequence:\n11111 22222 33333 44444 55555 66666
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=8
Protocol SPLICE
Protocol URL
License MIT
Programming Language JAVA
Natural Language en

Preview

SPLICE Output