Title Receiving Input Integers Until a Certain Condition is Met (Case 3)
Catalog Type SLCItem
Persistent ID https://pawscomp2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=JAVA&set=while_loops.inputs&ch=JInput3
Platform Name PCEX
Features
Description Construct a program that receives an integer from the user, outputs that integer, and stops receiving integers when the user enters a negative integer or an integer greater than 1000.
Keywords while loop
Author Roya Hosseini
Institution University of Pittsburgh
Iframe URL https://pawscomp2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=JAVA&set=while_loops.inputs&ch=JInput3
Protocol PITT, HTML
Protocol URL
License MIT
Programming Language Java
Natural Language en

Preview