Title csedpad.11.ForLoops.no_topic_1
Catalog Type SLCItem
Persistent ID https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/csedpad_11_ForLoops_no_topic_1__664e2f0891363872f0ba350b?index=1
Platform Name PCEX
Features
Description 50 chickens are separated in odd-numbered and even-numbered cages with the first chicken being in cage 1 and the last chicken in cage 50. Each cage's number indicates the number of eggs that the chicken lays such that chicken in cage n lays n eggs. How many eggs can be collected from all the chickens in the odd-numbered cages? This program computes that
Keywords
Author Mohammad Hassany
Institution University of Pittsburgh
Iframe URL https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/csedpad_11_ForLoops_no_topic_1__664e2f0891363872f0ba350b?index=1
Protocol SPLICE
Protocol URL
License MIT
Programming Language JAVA
Natural Language en

Preview

SPLICE Output