Computer Science, asked by anushkadasgupta80, 10 months ago

1 4 9 16..... Nth term
Pattern form basic​

Answers

Answered by pavithranatarajan855
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