Question: Question 4 The post office needs a program that reads in postal address data and then displays the data in a neat format. Declare four
Question The post office needs a program that reads in postal address data and then displays the data in a neat format. Declare four string variables name, addr addr and postalCode. First, the main function of the program must input the data by means of a function called inputData. Second, the main function calls the function displayData to display the name and address as follows: Mr RS Bopape PO Box Sandton Submit the program and the output.
: am My no: Draw a series of variable diagrams for the program below. Use the conventions of the Study Guide. variable diagrams revisited #include using namespace std; const int C ; int funcint n int n n ; n n; return n nC; void funcint n int & n n C n; n n n; void funcint & n int & n int k; k n; n k ; n n k; int main int n m j; n ; m ; j funcn m; n ; m ; funcn m; n ; m ; funcn m; return ;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
