#include<stdio.h>
#include<conio.h>
#include<string.h>
int main() {
int i, nextTerm;
int t1 = 2, t2 = 2;
nextTerm = t1+t2;
printf("%d, %d, ", t1, t2);
for (i = 3; i <= 10; ++i) {
printf("%d, ", nextTerm);
t1 = t2;
t2 = nextTerm;
nextTerm = t1 + t2;
}
return 0;
}
2 Thanks
2 Answers
5 Claps
0 Comments
13 Claps
2 Comments
4 Claps
0 Comments
1. sol:
P | q | ~p | ~p ^ q |
| T T F F | T F T F | F F T T | F F T F |
3 Thanks
4 Answers
Yes, a vector which has zero magnitude is also a vector in case of two vectors travelling in opposite directions with equal magnitudes. At this case, the resultant vector has zero magnitude but it is still a vector. We call it a null vector.
0 Thanks
2 Answers
2 Claps
1 Comments
