Posts
Showing posts from February, 2018
(i) Write a function to find the binary equivalent of a given decimal integer and display it.
- Get link
- X
- Other Apps
(f) Write a C function to evaluate the series L−+−+= !)7/()!5/()!3/()sin( 573 xxxxx
- Get link
- X
- Other Apps
) Write a recursive function to obtain the running sum of first 25 natural numbers.
- Get link
- X
- Other Apps
(d) A positive integer is entered through the keyboard, write a function to find the binary equivalent of this number using recursion.
- Get link
- X
- Other Apps
1. A 5-digit positive integer is entered through the keyboard, write a function to calculate sum of digits of the 5-digit number: using recursion
- Get link
- X
- Other Apps
1. A 5-digit positive integer is entered through the keyboard, write a function to calculate sum of digits of the 5-digit number: (1) Without using recursion
- Get link
- X
- Other Apps
(g) Write a function that receives 5 integers and returns the sum, average and standard deviation of these numbers. Call this function from main( ) and print the results in main( ).
- Get link
- X
- Other Apps
(f) Write a function which receives a float and an int from main( ), finds the product of these two and returns the product which is printed through main( ).
- Get link
- X
- Other Apps
(e) A positive integer is entered through the keyboard. Write a function to obtain the prime factors of this number?
- Get link
- X
- Other Apps
(d) Any year is entered through the keyboard. Write a function to determine whether the year is a leap year or not?
- Get link
- X
- Other Apps
(e) A positive integer is entered through the keyboard. Write a function to obtain the prime factors of this number?
- Get link
- X
- Other Apps
(b) Write a function power ( a, b ), to calculate the value of a raised to b.
- Get link
- X
- Other Apps
(k) Write a function to compute the greatest common divisor given by Euclid’s algorithm, exemplified for J = 1980, K = 1617 as follows:
- Get link
- X
- Other Apps
If the lengths of the sides of a triangle are denoted by a, b, and c, then area of triangle is given by
- Get link
- X
- Other Apps