Question: C++ 3.7.2: Ranges with gaps. Given integer ownedMushrooms, if the number of mushrooms is more than 8 but fewer than 28, output Manageable batch, followed
C++ 3.7.2: Ranges with gaps.
Given integer ownedMushrooms, if the number of mushrooms is more than 8 but fewer than 28, output "Manageable batch", followed by a newline.
Ex: If the input is 15, then the output is: Manageable batch
#include
int main() { int ownedMushrooms;
cin >> ownedMushrooms; /* Your code goes here */
return 0; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
