#1
November 16th, 2012, 09:54 AM
| |||
| |||
Anna University Chennai Lab Manuals
Can some buddy give me the lab Manuals of the Anna University Chennai and provide me the page where I can get the Anna University Chennai Lab Manuals?
|
#2
November 16th, 2012, 03:54 PM
| |||
| |||
Re: Anna University Chennai Lab Manuals
Here I am giving you lab manuals of the Anna University Chennai for the C Programs as below:- Write a C program to generate the first n terms of the sequence. #include <stdio.h> void main() { int num1=0, num2=1,no,counter,fab; clrscr(); printf("<===========PROGRAM TO FIND THE FIBONACCI SERIES UP TO N NO. IN SERIES=========>"); printf("\n\n\n\t\tENTER LENGTH OF SERIES (N) : "); scanf("%d",&no); printf("\n\n\t\t\t<----FIBONACCI SERIES---->"); printf("\n\n\t\t%d %d",num1,num2); //LOOP WILL RUN FOR 2 TIME LESS IN SERIES AS THESE WAS PRINTED IN ADVANCE for(counter = 1; counter <= no-2; counter++) { fab=num1 + num2; printf(" %d",fab); num1=num2; num2=fab; } getch(); } To get whole lab manual you can see given below attachment:- |
|