Question: Q 2 Create a vector of length 1 0 0 such that no two elements are same, without using any inbuilt functions. Save the vector

Q2
Create a vector of length 100 such that no two elements are same, without using any inbuilt functions.
Save the vector in the variable v .
The minimum value should not be less than -500.
The maximum value should not be greater than +500.
Hint : Think arithmetic progression.
Q 2 Create a vector of length 1 0 0 such that no

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!