1 4 9 16..... Nth term
Pattern form basic
Answers
Answered by
1
Answer:
#include<stdio.h>
int main(){
int n;
scanf("%d",&n);
for(int i=1;i<=n;i++)
printf("%d ",i*i);
}
Explanation:
Similar questions