mardi 14 mai 2019

1000 random integers (100 – 1000) [on hold]

Write a program in C that stores 1000 random integers (100 – 1000), one on each line, in a file named “numbers2.txt”. Then using shell pipes with “cat” and “grep” commands, find lines that contain numbers between 200 and 299. Hint: use regular expressions and search for lines beginning with 2.




Aucun commentaire:

Enregistrer un commentaire