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.
#include <iostream>
using namespace std;
int main() {
float price = 500000;
while (price > 5000) {
cout << "Enter price: ";
cin >> price;
}
}
Comments
Leave a comment