60 690
Assignments Done
97,9%
Successfully Done
In April 2018

Answer to Question #13634 in C++ for Chad Dylan Cooper

Question #13634
Give an example of a function prototype. From your example, identify the return type, the function name and the argument list.
Expert's answer
int isprime(int value)
{
int x,j;
x=1;
& for (j=2 ; j<value; j++)
{ if ((value%j)==0) x=0; }
& if(x!=0) return 1;
& else return 0;
}

Here the return type is integer, the function name is "isprime" and the argument list is "int value".

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions