Answer to Question #346475 in C++ for Jennifer

Question #346475

Zyan wants to allow visitors of his new website to input and send the bid amounts of antiques shown. He likes to not let them send him any amount less than the base amount he set of Rs.5000. He thinks that the user should have to write the amount again until they write the right amount. Help Adeel setup such a system.


1
Expert's answer
2022-05-30T15:05:47-0400
#include <iostream>


using namespace std;


int main() {
    float price = 500000;
    while (price > 5000) {
        cout << "Enter price: ";
        cin >> price;
    }
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS