Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
C Program for FUNCTION OF FIND THE FACTORIAL
float factorial(float);
void main()
{
float i=0,c=0;
clrscr();
printf("ENTER THE DIGIT TO FIND THE FACTORIAL: ");
flushall();
scanf("%f",&i);
c=factorial(i);
printf("THE FACTORIAL OF %f IS %f",i,c);
getch();
}
float factorial(float i)
float j=0,k=1;
for(j=1;j<=i;j++)
k=k*j;
return(k);
OUTPUT :
ENTER THE DIGIT TO FIND THE FACTORIAL : 5
THE FACTORIAL OF 5 IS 120.000
progarm in c for area under curve #include float start_point, /* GLOBAL VARIABLES */ end_point, total_area; int numtraps;
Write a recursive function recursiveMin that takes an integer array, a starting subscript and an ending subscript as arguments, and returns the smallest element in the array. The
Functions Overloading This a capability in which a C++ program can have several functions performing similar tasks on different data types. When an overloaded function is calle
simple coding for pebble merchant..
Write out pseudocode for a function called "and" that takes two arguments, both booleans, and returns the logical and of the inputs. DO NOT use the logical and operator: instead, w
Objective: Construct a C program that controls the UART, and is capable of displaying strings. Echo characters received on the UART to the LCD screen Outcome: A mess
There are two ways for initializes in C++ as shown in the example that follows. The first way uses the traditional C notation. The second way uses constructor notation. int foo
#questionAt a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets
difference
algorithm to find out all the factors of given positive integers
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd