WAP to display series 1,2,3,4,.....,40
Answers
Answered by
0
Answer:
WAP to display series 1,2,3,4,.....,40
Explanation:
#include<iostream>
using namespace std
int main()
{
int i,a=-1,b
for(i=1;i<=40;i+=3)
{
a*=-1
b=i
b*=a
cout<<b<<" "
}
return 0
}
Answered by
1
hope it helps!!
#sumedhian ❤❤
Attachments:
Similar questions
Social Sciences,
5 months ago
Science,
5 months ago
Math,
5 months ago
Biology,
11 months ago
CBSE BOARD X,
11 months ago
Business Studies,
1 year ago
India Languages,
1 year ago