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

Step: 3

blur-text-image

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

Automating Access Databases With Macros

Authors: Fish Davis

1st Edition

1797816349, 978-1797816340

More Books

Students also viewed these Databases questions