Computer Science, asked by simransingh798595, 7 days ago

Given n as input, print the following pattern on the console. . Input n=2
output
1+2=3
2+3=5
input
n=4
output
1+2=3
2+3=5
3+4=7
4+5=9 ​

Answers

Answered by Ronakbro
0

Answer:

I don't know broooooo ...

Answered by ankush844
0

Explanation:

For n=2

n+n-1=2+1=3

n+n+1=2+3=5

for n=4

n+n-1=4+3=7

n+n+1=4+5=9

Attachments:
Similar questions