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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!