Tag Archives: to generate

CPP04 – (c) Write a CPP program to generate a Fibonacci series of 50 numbers .

(c) Write a CPP program to generate a Fibonacci series of 50 numbers . CODE:- #include<iostream.h> #include<conio.h> void main() { unsigned long T,i,X=0,Y=1; clrscr(); cout<<“\nFIBONACCI 50 SERIES ARE :- \n”; i=0; while(i<50) { T=X+Y; cout<<” “<<X; X=Y; Y=T; i++; } getch(); } SCREEN SHOTS:- OUTPUT:-  

A C program to generate Telephone Bill for Consumer – IGNOU MCA Assignment 2015 – 16

MASTER OF COMPUTER APPLICATIONS Course Code : MCSL-017 Course Title : C and Assembly Language Programming (Lab Course) Assignment Number : MCA(I)/L-017/Assignment/15-16 Maximum Marks : 100 Weightage : 25%   Write an interactive program in C language to create an application program which generates the telephone bills. It stores various details of users Telephone Number, Name,… Read More »