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

Assignment Help:

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

Related Discussions:- how can I fix this to

Looping, Write a programme to display the patern.. A A B A C B A B C...

Write a programme to display the patern.. A A B A C B A B C A B A A

Linear search in array - c program, Linear search in array - C program: ...

Linear search in array - C program: Write a program in c to define a linear search in array. void main()                 {                 clrscr();

C program to swap two numbers using reference arguments, Aim: To implement...

Aim: To implement a program to swap two numbers using reference arguments. Code: void swap(int *a, int *b) {             int temp;             temp=*a;

C program to change feet and inches into meter, Aim: To implement a progra...

Aim: To implement a program to convert distance given in feet and inches into meters and centimeters and vice versa. Code:                         class mcm; class

Explain input output function, Input Output Most languages have "statem...

Input Output Most languages have "statements" to perform I/O . Though in C and C++ we use "functions" to perform I/O. C++ also has its own I/O mechanism - the cin and cout obje

Create a program to word count, Create a program WordCount1Main.java doing ...

Create a program WordCount1Main.java doing the following:  For each word in the le word.txt { Create an object of the class Word { Add the object to a set of the type java.uti

How can I fix this to, Write a program consisting of two functions (plus ma...

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 secon

C++ coursework programming for engineering, Hi there I am looking for hel...

Hi there I am looking for help with c++ coursework. Could you please provide me with email address to email a copy of it. Thanks

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

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!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd