Question: Q 1 ) Write C + + code to calculate the following equation: i = 1 n 2 * * s i n ( 3

Q1) Write C++ code to calculate the following equation:
i=1n2**sin(30**i)3i-1
The output should be like
Enter a value for n:10
The result is : -1.95985
Press any key to continue ...
Q2) Write C++ code to draw the following shape: the output should be like:
Enter the number of rows
5
Enter the number of columns
10
Enter the character for pattern
+
+++++++++++
++,++
++,+
+,+,+
+,+,+
+++++++++++
 Q1) Write C++ code to calculate the following equation: i=1n2**sin(30**i)3i-1 The

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!