Statistics Assignment | Professional Writing Services

Write a script that will prompt the user for N integers, and then write (save) the positive numbers (>= 0) to a file called positive.dat and the negative numbers to a file called negative.dat. Error-check to make sure that the user enters N integers.

Professional Writing Services

Don't use plagiarized sources. Get Your Custom Essay on
Statistics Assignment | Professional Writing Services
Just from $13/Page
Order Essay

Hint: for Error-check, we can use the following code (See lecture note 10)num = input(‘Enter an integer: ‘);num2 = int32(num);while num2 ~= num num = input(‘Invalid! Enter an integer: ‘); num2 = int32(num);end

Get Statistics homework help today


STAY HOME, SAVE LIVES. Order your paper today and save 15% with the discount code FLIX