0% found this document useful (0 votes)
10 views1 page

Excercise Problems Assignment 3

Uploaded by

sanatabasum2005
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views1 page

Excercise Problems Assignment 3

Uploaded by

sanatabasum2005
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

SCHOOL OF TECHNOLOGY

GITAM (Deemed to be university)-Hyderabad


Department of Computer Science and Engineering.
Course code: CSEN1011
Course name: Problem solving and programming with C
Year and Program: I B.Tech Semester: I Branch: CSE

Exercise Problems: MODULE_III

Exercises: Write a program using functions to

1. Print even and odd numbers in a given range

2.Find power of a number

3.Return maximum of given two numbers

4.To print all strong numbers between given interval using functions.

5.Check whether a number is prime, Armstrong or perfect number using functions.

6.Demonstrate call by value and call by reference mechanisms.

7.Find power of any number using recursion.

8.Generate Fibonacci series using recursion

9.Find product of two numbers using recursion

10.Find the sum of digits of a number. Number must be passed to a function using

pointers.

11.Find GCD (HCF) of two numbers using recursion.

12.Find LCM of two numbers using recursion

You might also like