I) To find the factorial of a given integer. Write a C program to generate the first n terms of the sequence.Ĭ) Write a C program to generate all the prime numbers between 1 and n, where n is a value supplied by the user.Ī) Write a C program to calculate the following Sum:ī) Write a C program toe find the roots of a quadratic equation.Ī) Write C programs that use both recursive and non-recursive functions Subsequent terms are found by adding the preceding two terms in the sequence. Recommended Systems/Software Requirements:Ī) Write a C program to find the sum of individual digits of a positive integer.ī) A Fibonacci Sequence is defined as follows: the first and second terms in the sequence are 0 and 1. To Introduce the student to simple linear and non linear data structures such as lists, stacks, queues, trees and graphs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |