rendered paste body#include <iostream.h>
Void main () {
char Brand;
int Reg;
int Price;
int Offer;
int newoffer;
int cars[10] [4]
char brand[10][0] = {
{'T'},
{'T'},
{'M'},
{'M'},
{'M'},
{'T'},
{'R'},
{'R'},
{'T'},
{'R'}
};
int Reg [10][0] = {
{'424'},
{'651'},
{'472'},
{'885'},
{'112'},
{'135'},
{'624'},
{'312'},
{'198'},
{'872'}
};
int Price[10][0] = {
{'5423'},
{'6221'},
{'7876'},
{'23551'},
{'21231'},
{'5512'},
{'13341'},
{'1244'},
{'19221'},
{'13214'}
};
int Offer[10][0] = {
{'3000'},
{'2214'},
{'6511'},
{'20001'},
{'14663'},
{'3000'},
{'62991'},
{'1000'},
{'12000'},
{'10000'}
};
char E; char N;
cout << “ The commands are : N to enter a new offer | E to exit”;
char option;
char option = ' ';
while(option != 'E') {
cout << "Please enter the registration Number of the car’s Offer you wold like to enter a new offer for ";
cin >> option;
if(opt == 'N')
For(reg==offer) {
for( offer=0; offer<10; offer++)
Cout << “ Please enter your offer”;
Int newoffer;
Cin >> newoffer;
If(newoffer > offer[0] ) {
Offer[0] = newoffer
Offer++
}
}