1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
murzikaleks [220]
3 years ago
15

8.2: Lottery Winners A lottery ticket buyer purchases 10 tickets a week, always playing the same 10 5-digit "lucky" combinations

. Write a program that initializes an array or a vector with these numbers and then lets the player enter this week’s winning 5-digit number. The program should perform a linear search through the list of the player’s numbers and report whether or not one of the tickets is a winner this week. Here are the numbers: 13579 26791 26792 33445 55555 62483 77777 79422 85647 93121
Computers and Technology
1 answer:
julia-pushkina [17]3 years ago
3 0
Idk bro but pick the first one that comes to mind
You might be interested in
What is a clutch on a car
grandymaker [24]
<span>The first stage in the transmission of a car with a manual gearbox is the clutch.</span>
6 0
4 years ago
What is modularity?
My name is Ann [436]

Answer:

Option D

Explanation:

Modularity in general defines the flexibility of a system. It is the degree to which a system can be broken down into smaller segments and then rearranged or recombines into new groups. Modularity is determined for multiple disciplines each having their own drawbacks.

8 0
3 years ago
Write a program that lets the user enter a nonnegative integer then uses a loop to calculate the factorial of that number. Displ
ValentinkaMS [17]

Answer:

Following are the program in c++ language

#include <iostream> // header file

using namespace std;// namespace

int main() // main function

{

    int num; // variable declaration

    long int f=1; // variable declaration

   do

   {

       cout<<"Enter the Positive value:";

       cin>>num;

   } while(num<0); // i check whether   number is non negative or not

   while(num>0) // iterating over the loop

   {

       f=f*num; // calculate the factorial

       num--; // decrement the value of num by 1

   }

   cout<<" factorial is :"<<f; // display the factorial .

   return 0;

}

Output:

Enter the Positive value:7

factorial is :5040

Explanation:

Following are the description of the program .

  • Read the input by user in the "num" variable of "int" type..
  • The do-while will check the enter number is nonnegative number.  
  • While(n>0) loop is calculating the factorial in the  "f" variable .
  • Finally display the factorial .  
3 0
3 years ago
Typically , how do people earn income
natima [27]
People earn income by getting jobs and working. When they work, they get paid. That's an income
3 0
4 years ago
Read 2 more answers
How does communication promotes team building​
Musya8 [376]
Team members must communicate with one another in a way that encourages collaboration and mutual understanding. Trust, message clarity, and loyalty are all enhanced by effective communication. Trust and motivation are eroded by ambiguous, poorly structured communication.
8 0
3 years ago
Read 2 more answers
Other questions:
  • What is an incremental backup?
    7·1 answer
  • Protected base class members cannot be accessed by: a.friends of the base class.
    6·1 answer
  • What does the KISS Principle stand for?
    11·2 answers
  • What are three reasons teens might start drinking alcohol??
    7·2 answers
  • Will Give Brainliest
    10·1 answer
  • Kurtz &amp; Kemeny created an easy-to-learn programming language called?
    15·1 answer
  • Who watches the show gravity falls, if you do, if you play the theme song for the first episode backwards you get a hiding messi
    11·2 answers
  • What is a frame injection attack in a wireless network?
    13·2 answers
  • Can you help me with Computer issues graphic organizer?<br> Will give out brainly
    6·1 answer
  • An independent penetration testing company is invited to test a company's legacy banking application developed for Android phone
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!