8 Claps
1 Comments
1. sol:
P | q | ~p | ~p ^ q |
T T F F | T F T F | F F T T | F F T F |
2 Thanks
4 Answers
#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
1 Clap
0 Comments
3 Claps
0 Comments
routine of nikas banda