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
Project Description: I play this game called mobstar (mobstar) and I would like the program to grade my account for me. It would require doing a crime, GTA, jail busting, lead a


Explain the Command Line Parameters? The Command line arguments are parameters supplied to a program from the operating system. These arguments are parameters accepted to main

c program to count the number of occurances of the string in padovan''s string

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b

# include stdio.h> # include conio.h> # include string.h> void main()   {           int i=0,j=0;           char a[100],temp;           clrscr();

one of the segments is showing compilation error...

Write a program called plus that will display asterisks in the shape of a plus sign which has the height and width specified by the user. You must only allow entry of an odd numb

Question Write a program using c++ for the above function , at a= 1000, b=10 -3 ,10 -2 ,10 -4

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome