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
#questio A charitable organization wants to design a special ATM machine to be used by needy people. The association supplies the needy person with a pin number to be able to use

Write a c++ program to find the sum of 0.123 ??103 and 0.456 ??102 and write the result in three significant digits

Define Storage Classes of c program - computer programming? Each variable and function in C language has two attributes that are type and storage class. If storage class of a v


how much is it to fix a small data struct in a sorted list that pass itemtypes. all the code is written just logical errors

decode smugglers are very smart in day by day

Problem: (a) Show the Java approach to event processing by explaining how event handling works in Java. Make use of a suitable example to support your answer. (b) Describe

Jewels can only be removed for polishing from either end of the necklace

Project Description: Need to develop an expert advisor base on sthocastic oscilator with my own setting.. Very basic touch line OB/OS only but on my setting n condition Skill

A string is said to be "Beautiful"€, if it contains only non repetitive alphabets