Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
+
+++++++++++
++,++
++,+
+,+,+
+,+,+
+++++++++++
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data And Databases

Authors: Jeff Mapua

1st Edition

1978502257, 978-1978502253

More Books

Students also viewed these Databases questions

Question

Team effectiveness explain in the real life story

Answered: 1 week ago