Title Calculating the Average of Floating-Point Numbers
Catalog Type SLCItem
Persistent ID https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/while_loops_j_average__664e4b3c91363872f0ba37af?index=2
Platform Name PCEX
Features
Description Construct a program that reads a series of non-negative floating-point numbers from the user, sums them up, and calculate their average.\nNote that you need to think what value should the program use to indicate the end of the input.
Keywords
Author Mohammad Hassany
Institution University of Pittsburgh
Iframe URL https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/while_loops_j_average__664e4b3c91363872f0ba37af?index=2
Protocol SPLICE
Protocol URL
License MIT
Programming Language JAVA
Natural Language en

Preview

SPLICE Output