Answer:
The function in C++ is as follows:
int isSorted(int ar[], int n){
if (
||
){
return 1;}
if (
<
){
return 0;}
return isSorted(ar, n - 1);}
Explanation:
This defines the function
int isSorted(int ar[], int n){
This represents the base case; n = 1 or 0 will return 1 (i.e. the array is sorted)
if (
||
){
return 1;}
This checks if the current element is less than the previous array element; If yes, the array is not sorted
if (
<
){
return 0;}
This calls the function, recursively
return isSorted(ar, n - 1);
}
Answer:
dont forget the trail mix
Explanation:
honestly you can go bougie or you can go doomsday prepper macgyver style.
Ill give you what I would bring as a field medic but you didnt really specify the situation so hopefully this can spark some ideas for your project. You can find everything here on amazon so ill let you go ahead and do that..
<u>PPE</u>
gloves
masks
eye protection
reflective wear
weapon system
<u>Medical</u>
Tourniquets
Pressure Dressings
NSAIDs
Aspirin
Safety pins
IO drill
IV supplies
Space blanket
Thermometer
Chapstick
Silktape
Bacitracin
<u>EDC</u>
Flashlight
Pens/markers
write in the rain
Firestarter
Duct tape
knives/trauma shears
saw
Watch
550cord
gummy worms & water
Radio/ Garmin inreach
Triage tags
It can pollute the whater which is the habit to many animals making it not safe fo be in the whater
Limit yourself to 4000 a day , it helps.