how to take the value from capture() to be use in count()? then be displayed in display_output ()?Code:#include<stdio.h> int capture(); int count(); void display_output(int x); int main() { int each=0; capture(); each=count(); display_output(each); system("pause"); return 0; } int capture() { int x,y; printf("Enter the number of children:"); scanf("%d",&x); printf("Enter the number of bag(s):"); scanf("%d",&y); } int count() { int each,x,y; each=(y*200)/x; return each; } void display_output(int x) { printf("Each of the children gets %d candies\n",x); }