how can I fix this to, C/C++ Programming


Write a program consisting of two functions (plus main). The first function should read in a number and then pass this back to main. This value should then be passed into a second function that calculates and displays the factorial.

/*********************************************************************************************************
Date 5/4/2013
aurthor:emma OOstryck
purpose : a simple funtction that Prints and time and name
**********************************************************************************************************/
# include

("int")
''{''
int1,int2

void func1 ()
{
printf("Emma oostryck");
''return'';
}

''{''
int getvalue (int value; "1");
''{''
int input ;
scanf("%d%*c",input);
''return'' (int);
}

int get''2''value(int value ''2'' );
''{''
int input''2'' ;
scanf("%d%*c",input2);
''return''(int);
}

void calculateanddisplayfactorial (intvalue)
(''while'' "int 1 + int 2 ");
(printf"=")
return
}
''{''
int main ()
{
int value ''1'' ,int value ''2'' ;
{
int sum;
}
Posted Date: 4/5/2013 6:01:05 AM | Location : Australia







Related Discussions:- how can I fix this to, Assignment Help, Ask Question on how can I fix this to, Get Answer, Expert's Help, how can I fix this to Discussions

Write discussion on how can I fix this to
Your posts are moderated
Related Questions
Binomial coefficients are the numeric factors of the products in a power of a binomial such as (x + y)n. For example, (x + y)2 = x2 + 2 x y + y2 has the coefficients 1 2 1. Binomia

It is a pointer accessible only in the member functions of a struct, class or union type. It points to the object for which the member function is called. Static member functions d


Project Description: Project is related indexing data related some data structure. I need to share all information related project later if i contact any body Skills required

want to understand the working of structure and classes

Write a program that takes the image tracks.jpg and finds Canny edges, and then finds lines in these edges using the Hough transform. The easiest way to do this is to take the prog

Define One's Complement Operator? The one's complement operator, occasionally called the "bitwise NOT" or "bitwise complement" operator produces the bitwise one's complement of

Objective of this Program: (a) To learn more about modularization of a program into independent modules, (b) To use arrays in a program, (c) To get some experience with us

A: Use operator overloading to present a friend right-shift operator, operator>>. It is similar to the output operator, except the parameter doesn't contain a const: "Fred&" instea