Create a program to generate the first N terms of the arithmetic series.
MediumProblem Statement
Create a program to generate the first N terms of the arithmetic series.
Sample Input
int a = 5, d = 3, N = 10;
Sample Output
Arithmetic series: 5 8 11 14 17 20 23 26 29 32
Limits
Time: 2s · Memory: 256 MB