Computer Science, asked by darkmortal123, 8 months ago

WAP that prints the series showing products of two consecutive numbers. WRITE THE FULL CODE IN JAVA PLZZ DO IT FAST!!!!

Answers

Answered by shivanshgupta10
0

Answer:

secutive numbers above N/2 that adds up to N, because N/2 + (N/2 + 1) would be more than N. So we start from start = 1 till end = N/2 and check for every consecutive sequence whether it adds up to N or not. If it is then we print that sequence and start looking for the next sequence by incrementing start point.

C++

Similar questions