Include Using Namespace Std Define Max 1001 Unorderedmap Data Int Main Int Choice True Cou Q43860150
#includeusing namespace std;#define MAX 1001unordered_map > data;int main(){int choice;while(true){cout << “Press 1 to enter Shrub Detailsn”;cout << “Press 0 for DataBase Outputn”;cin >> choice;if(choice == 1){string plant;cout << “Enter Plant Namen”;cin >> plant;vector details(10, 0);data[plant] = details;int character = 0;cout << “Press 0 -> Quitn”;cout << “Press 1 -> Coldn”;cout << “Press 2 -> Shaden”;cout << “Press 3 -> Dryn”;cout << “Press 4 -> Wet Soiln”;cout << “Press 5 -> Acid Soiln”;cout << “Press 6 -> Cityn”;cout << “Press 7 -> Potn”;cout << “Press 8 -> Easy Caren”;cout << “Press 9 -> Grows Fastn”;while(true){cin >> character;if(character == 0)break;data[plant][character] = 1;}}else{break;}}cout << “Shrubt Coldt Shadet Dryt Wet Soilt AcidSoilt Cityt Pott Easy Caret Grows Fasttn”;for(auto it : data){cout << it.first << “t”;for(int x : it.second)cout << x << “t”;cout << “n”;}return 0;}
I need this code convert it in CLIPS.
This code made from this problem.

Write a CLIPS program that aids in the selection process of a suitable shrub for planting. The table below lists several shrubs and indicates whether each shrub possesses certain characteristics, which include tolerance to cold weather, tolerance to shade, tolerance to drought, tolerance to wet soil, tolerance to acidic soil, tolerance to city dwelling (high pollution), tolerance to growth in a container, whether the shrub is casy to care for, and whether the shrub is fast growing. A bullet indicates the shrub has the characteristic. Input to the program should be facts indicating a desired characteristic that the shrub must have, and the output should be a list of the plants having cach specified characteristic. 7.11 City Dy Wet Soll Shrub Easy Shade Cold Acld Soll Pot Grows Care Fast French hydrangea Oleander :. Northem bayberry Box honeysuckle Gardenia Common juniper Sweet pepperbush Tartarian dogwood Japanese aucuba Swamp azalea Show transcribed image text Write a CLIPS program that aids in the selection process of a suitable shrub for planting. The table below lists several shrubs and indicates whether each shrub possesses certain characteristics, which include tolerance to cold weather, tolerance to shade, tolerance to drought, tolerance to wet soil, tolerance to acidic soil, tolerance to city dwelling (high pollution), tolerance to growth in a container, whether the shrub is casy to care for, and whether the shrub is fast growing. A bullet indicates the shrub has the characteristic. Input to the program should be facts indicating a desired characteristic that the shrub must have, and the output should be a list of the plants having cach specified characteristic. 7.11 City Dy Wet Soll Shrub Easy Shade Cold Acld Soll Pot Grows Care Fast French hydrangea Oleander :. Northem bayberry Box honeysuckle Gardenia Common juniper Sweet pepperbush Tartarian dogwood Japanese aucuba Swamp azalea
Expert Answer
Answer to #include using namespace std; #define MAX 1001 unordered_map > data; int main() { int choice; while(true) { cout choice;…
OR