//this is a program to add, substrat, multiply and divide #include<stdio.h> #include<conio.h> int add(int x, int y); int su...
Read More
Showing posts with label Functions. Show all posts
Showing posts with label Functions. Show all posts
Write a program to find the sum of digits of the number entered by the user
//this is a program to find the sum of digits of the number entered by the user #include<stdio.h> #include<conio.h> int sumo...
Read More
Write a program to find the sum of two numbers using user defined function which returns value
//this is a program to find the sum of two numbers using user defined function #include<stdio.h> #include<conio.h> int sum(i...
Read More
Write a program to find the sum of two numbers using the user defined
//this is a program to find the sum of two numbers using the user defined #include<stdio.h> #include<conio.h> void sum(int x...
Read More
Write a program to print the star pattern pyramid using the user defined function
//this is a program to print the star pattern using the user defined function /* * * * * * * * * * * * * * * * */ #include<std...
Read More
Write a program to print only odd numbers from 1-50 using the user defined function
//this is a program to print only odd numbers from 1-50 using the user defined function #include<stdio.h> #include<conio.h> ...
Read More
Write a program to find whether the entered number is positive or negative
//this is a program to find whether the entered number is positive or negative #include<stdio.h> #include<conio.h> void even...
Read More
Write a program to find the area of circle using user defined function
//this is a program to find the area of circle using user defined function #include<stdio.h> #include<conio.h> void area(); ...
Read More
Write a program to add 2 numbers using user defined function
//this is a program to add 2 numbers using user defined function #include<stdio.h> #include<conio.h> void add(); void main(...
Read More
Write a program to find the largest value from the given array 2D using user defined function
//this is a program to find the largest value from the given array(2X2) using user defined function #include<stdio.h> #include<...
Read More
Write a program to find the greater number among 2 using user defined function
//this is a program to find the greater number among 2 using user defined function #include<stdio.h> #include<conio.h> int g...
Read More
Write a program to find the factorial of the entered number using user defined function
//this is a program to find the factorial of the entered number using user defined function #include<stdio.h> #include<conio.h...
Read More
Write a program to find the factorial of a number using the recursive function
//this is a program to find the factorial of a number using the recursive function #include<stdio.h> #include<conio.h> long ...
Read More
Write a program to find the Fibonacci series using recursive function
//this is a program to find the fibbonaccies series using the recursive function #include<stdio.h> #include<conio.h> int fib...
Read More
Write a program for the demonstration of call by value
//this is a program for the demostration of call by value #include<stdio.h> #include<conio.h> void display(int num); void m...
Read More
Subscribe to:
Posts (Atom)