Chemistry, asked by shreeshpatil232, 4 months ago

1. Observe the following block of code and determine what happens when x=2?
#include<iostream.h>
void main()
int a,d, n, sum, term=0;
cout<<"Enter the first termy .common difference,"
18
Maharashtra state Board of Technical Education
Object Oriented Programming Using C#
(22316).
<<"and the number of terms to "ber sunned".
<<"respectively: \n";
cin>>>>d>>n;
int i=1;
cout<<"\nThe terms are 15;
term= at (i-1) *d;
Batern;
cout<<term<<" ";
while ric-n) ;
cout<<"\nThe sum of A.P, is "<<qum;plz sole this​

Answers

Answered by sarveshkumarkumarsar
0

Answer:

Sagar please let me know what to do

Similar questions