Combine the codes pieces such that the main function(where data entry is done)calls all other three function by name without | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Combine the codes pieces such that the main function(where data entry is done)calls all other three function by name without

👆parameters by name with parameters(call by value)

29th Oct 2021, 1:46 PM
Isack Mussa
Isack Mussa  - avatar
2 Answers
+ 2
Isack Mussa it might help you to review C++ lessons 36 through 46. Pay close attention how function parameters are declared and how arguments are passed into them. https://www.sololearn.com/learning/1635/
29th Oct 2021, 6:21 PM
Brian
Brian - avatar
+ 1
Function definition function1(){ ..... } function 2(){ .... } function3(){ ... ... } int main() { Take input which u want ..... ..... ..... function1 (pass parameters); //function calling function2 (pass parameters, ...); function 3(pass parameters); }
29th Oct 2021, 2:02 PM
A S Raghuvanshi
A S Raghuvanshi - avatar