subject

Unique numbers. create a project titled lab6_unique. code a program that selects 10 random non-repeating numbers and prints them out. the numbers are to be collected in an array. each number should be between 1 and 100.
use the following program as a starting point:
// array declaration, starting point for unique numbers lab
#include
int main(){
const int arraysize=10;
int uniquenumbers[arraysize] = {0}; // declaring and initializing array
srand(1); // initializing random number generator with fixed seed
// put your code here

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:30
Avariable definition defines the name of a variable that will be used in a program, as well as
Answers: 3
question
Computers and Technology, 23.06.2019 18:00
What can a word user do with the customize ribbon dialog box? check all that apply. minimize the ribbon add a new tab to the ribbon remove a group from a tab add a group to a tab choose which styles appear choose which fonts appear choose tools to appear in a group
Answers: 1
question
Computers and Technology, 23.06.2019 20:30
If chris has a car liability insurance, what damage would he be covered for
Answers: 1
question
Computers and Technology, 24.06.2019 04:30
How do you share someone else’s tweet with your own twitter followers?
Answers: 1
You know the right answer?
Unique numbers. create a project titled lab6_unique. code a program that selects 10 random non-repea...
Questions
question
Social Studies, 01.10.2019 07:30
Questions on the website: 13722367