1. Course
  2. Functions B
  3. Search the greatest value in an array

Search the greatest value in an array


Last updated: 8/23/2020 Difficulty: Intermediate

Create a program in C# that implements a function called SearchGreatestValue that receives as an parameter an array of 5 real numbers requested from the user. You must obtain and display the largest of those numbers.

Input

5
4
5
6
7

Output

7

Solution

Functions B

4 / 6

Android App


Practice C# anywhere with the free app for Android devices.

Android App

Exercises C# by difficulty


Learn C# at your own pace, the exercises are ordered by difficulty.

Make a donation


Your donations support our work and contribute to the maintenance of the app.

Advertising