#include <stdio.h>
int main() {
int n, t1 = 0, t2 = 1, next;
printf("Enter the number of terms: ");
scanf("%d", &n);
for (int i = 1; i <= n; ++i) {
printf("%d ", t1);
next = t1 + t2;
t1 = t2;
t2 = next;
}
printf("\n");
return 0;
}
What is data analysis and its significance? Data analysis is the process of collecting, transforming, and organizing data to dr...
No comments:
Post a Comment