In this tutorial, we will show you how to generate multiplication tables in C++. A user is asked to enter the number for which he/she wants to generate the table. Different logics are used to generate the table till 10.
sin() is the built-in function in C++. This function is defined in the library – you have to include this in the header in order to use it. The sin() function takes one argument i.e. a number which is angle and it returns the sine of angle x radians.