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
Why was the 80s bad for Disney i know one example but ill tell you after you answer
Bond [772]

Answer:

The dark stories behind it? i dont  know lol

5 0
3 years ago
What time of year, or during what event, do companies spend the most money to advertise?
Triss [41]
A lot of times companies spend lots of money on ads during the holiday season and spend even more as it gets closer to Christmas. Some companies spend even more money during the Super Bowl.<span />
7 0
3 years ago
Which term describes data that appear to show some type of patterned relationship with a nursing diagnosis?
marusya05 [52]

Answer:

Related factors

Explanation:

Related factors are those factors "that appear to show some type of patterned relationship with a nursing diagnosis". For example, there are some factors that may increase the vulnerability of an unhealthy event in a person or group. These factors may be psychological, physiological, or chemical factors. Hence these factors are considered related factors if they have any relationship with a particular disease or nursing diagnosis.

7 0
3 years ago
Ben is writing web page content on a newly launched gaming gadget. He has to use hyperlinks to help visitors navigate to web pag
iren2701 [21]

Answer:

at the bottom of the web page

Explanation:

Ben is creating a web page content for the gaming gadget that  has been newly launched. He uses hyperlinks so that the visitors can navigate the web pages properly which deals with some other electronic gadgets also. So Ben should place the hyperlinks at the bottom of the web page as it will provide anyone viewing the web pages easily.

3 0
3 years ago
Red is the longest color of the visible spectrum <br> T or F
MAVERICK [17]
True! the farthest it can go is infared which we cannot see.
5 0
3 years ago
Read 2 more answers
Other questions:
  • Assuming arrayName is the name of an array and identifier is a name of a variable that has the same data type as the array eleme
    6·1 answer
  • Write a program that takes a date as input and outputs the date's season. The input is a string to represent the month and an in
    6·1 answer
  • Marissa bought 2 and 1/2 gallons of orange juice to make punch how many quarts of orange juice did Marissa Buy
    15·2 answers
  • Select the correct answer.
    13·1 answer
  • After you design and write your help-desk procedures to solve problems, what should you do next?
    10·1 answer
  • Suppose that a is declared as an int a[99]. Give the contents of the array after the following two statements are executed: for
    15·1 answer
  • In a linked chain implementation of a queue, the performance of the enqueue operation
    14·1 answer
  • Can anybody answer this
    12·2 answers
  • Which of the following statements best illustrates how value was created for eggs? when a farmer sells a chicken who is no longe
    9·1 answer
  • True or false scientists investigate and seek to explain the natural world
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!