DrSchool Learn coding, fast.
EN AR BN CS DE EL Search

Random — Example 175

Quick explanation + ready code for: Random.

PowerShell Random Back to examples
Back to language
Syntax: Random in PowerShell. ID: #175

Code

Get-Random -Minimum 0 -Maximum 100

Notes

You can copy this snippet and adapt it. For advanced, add real-world inputs, edge cases, and tests.