Nikas Ghimire asked a question


#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
Puspak Sah asked a question

Matter is anything that possesses mass, occupies space and may be perceived through one or more senses.

                           The physical divisions of matter are:

1. Solid : Solid matter is composed of tightly packed particles. A solid will retain its shape; the particles are not free to move around.

2. Liquid : Liquid matter is made of more loosely packed particles. It will take the shape of its container. Particles can...

3 Thanks
2 Answers
Close Open App