## C++ Divide vector by Scalar

In this article, we will discuss how to divide vector by a scalar quantity in C++. Example, Input Vector = { 4 , 4 , 20 , 80 } Scalar = 4 Output Vector = { 1 , 1 , 5 , 20 } // dividing each element by the scalar For this tutorial, assume …