Question: C++ Basic Arithmetic You are a cook in a restaurant. You need exactly 3 crabs to cook your special seafood dish named Trio. Write a
C++
Basic Arithmetic You are a cook in a restaurant. You need exactly 3 crabs to cook your special seafood dish named "Trio". Write a program that will take the number of crabs as input and output how many "Trio" dishes can be made. Sample Input 14 Sample Output 4 Use the division operator to calculate the quotient.
#include
using namespace std;
int main() {
int crabs;
cin >> crabs;
//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
