Pure Programmer
Blue Matrix


Cluster Map

Project: Random Floats

Write a program to generate a random list of floating point values. The program should accept three values on the command line: minimum value, maximum value and the number of floats to generate. The maximum value need not actually occur in the list but serves as an upper limit to the values generated. The floats should be printed one per line.

Output
$ swiftc RandomFloats.swift -I . -L . -lUtils error: link command failed with exit code 1 (use -v to see invocation) ld: library not found for -lUtils clang: error: linker command failed with exit code 1 (use -v to see invocation)

Solution