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
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

create two array names and grade .in first array you have to store thease 10 names 1.a,2.3.r,4.s,5.l,6.k,7.n,8.b,9.z,10.d you have to enter grades for thease students.te program mu

write c++programm that converts degrees Kelvin (TK) to degrees Fahrenheit(TR) recall that TF=(9/5)TK and that TF=TR-459.67

Develop Pidgin for Windows Project Description: I want to build Pidgin (open source instant messenger) for Windows with D-Bus support enabled. I've effectively built both

Classes and Objects A class is a vehicle to execute the OOP features in the C++ language. Once a class is declared, an object of that type can be explained. An object is said t



Explain a class to model a banking system. The function members should allow initializing the data members, a query to facilitate for account and a facility to deposit and with

how to do 2, 4, 8 associativity

http://www.expertsmind.com/questions/decodethecode-30110560.aspx