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
vitfil [10]
3 years ago
11

Write an expression that continues to bid until the user enters 'n'. Sample output with inputs: 'y' 'y' 'n' I'll bid $7! Continu

e bidding? I'll bid $15! Continue bidding? I'll bid $23! Continue bidding?
Computers and Technology
1 answer:
Likurg_2 [28]3 years ago
4 0

Answer:

#include <iostream>

#include <cstdlib>  

using namespace std;

int main() {

  char Keep_Going = '-';

  int nextBid = 0;

  srand(5);

  while (Keep_Going != 'n') { //<-- solution

     nextBid = nextBid + (rand()%10 + 1);

     cout << "I'll bid $" << nextBid << "!" << endl;

     cout << "Continue bidding? ";

     cin >> Keep_Going;

  }

  cout << endl;

  return 0;

}

You might be interested in
Anthony is responsible for tuning his organization's intrusion detection system. He notices that the system reports an intrusion
Alinara [238K]

The errror that has occured is a False Positive error.

Explanation:

  • A false positive is where you receive a positive result for a test, when you should have received a negative results.
  • A false positive (type I error) — when you reject a true null hypothesis.
  • The type I error rate or significance level is the probability of rejecting the null hypothesis given that it is true. It is denoted by the Greek letter  alpha
3 0
3 years ago
Phishing is a broad term that describes any program that is designed to cause harm or transmit information to others without the
katrin [286]
False phishing is the fraudulent practice of sending emails purporting to be from reputable companies in order to induce individuals to reveal personal information, such as passwords and credit card numbers.
6 0
4 years ago
In which job role would a course in 3D modeling help with professional career prospects?
saw5 [17]

Answer:

c

Explanation:

4 0
3 years ago
Read 2 more answers
Building relationship during your carrer exploration is called
Paul [167]

Answer:

Building relationships during your career exploration is called <u>networking</u>.

4 0
4 years ago
PLEASE HELP!! How do I bypass the question limit on brainly? They made it to where if you turn off the cookies for the website t
Rina8888 [55]
This makes no sense
7 0
3 years ago
Other questions:
  • What is the difference between a software package and integrated software
    7·1 answer
  • Which is an example of appropiate online behavior?
    6·1 answer
  • 5. Bits are sent over a communications channel in packets of 12. (a) If the probability of a bit being corrupted over this chann
    12·1 answer
  • Methods used to change variables are called ______. equals accessors toString void mutators
    8·1 answer
  • What are the constraints for designing small and large files and how these are resolved in different file system
    7·1 answer
  • Which of the following apply to the definition of Wide Area Networks? Check all of the boxes that apply.
    7·2 answers
  • What is IBM compadibles
    5·1 answer
  • The AND operator is a disjunction and the OR operator is a conjunction.
    15·1 answer
  • Consider the key success factors of B2C. Is it only IT? What is most important?​
    8·1 answer
  • What should the car be programmed to do if it encounters an unavoidable accident? (about autonomous vehicles)(help me :c)
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!