Sign InCreate Account

Upgrade to Pro

Upgrade Now

Coding Workspace

EditorProjectsPractice QuestionsTimed Mock ExamsFlowcharts

PseudoEditor AI

Pseudocode TutorCode GeneratorCode FixerCode Converter
Back to Problems
PreviousNext

Sign in to run tests against edge cases and save your code automatically.

Problem Description

Easy

Array Range

PRO1D & 2D Arrays
Traversal

Write a program that inputs 5 integers into an array, then outputs the **range** of the data: the largest value minus the smallest value. For example, the values 4, 9, 2, 7, 5 have a range of 9 - 2 = 7.

Example Input

4 9 2 7 5

Example Output

7

Success Rate:

0% (0 passed / 0 attempted)

Code

Draft auto-saved

Test Results

Click "Test Code" to evaluate your code against the tests.

Product

For SchoolsOverviewFeaturesFAQ
PseudoEditor

© 2026 PseudoEditor. All rights reserved.