WAP that prints the series showing products of two consecutive numbers. WRITE THE FULL CODE IN JAVA PLZZ DO IT FAST!!!!
Answers
Answered by
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
Computer Science,
4 months ago
Social Sciences,
4 months ago
Hindi,
4 months ago
Math,
8 months ago
English,
8 months ago
Math,
1 year ago
Social Sciences,
1 year ago