Page 1 of 1

solve it

Posted: Mon Jul 11, 2022 9:50 am
by answerhappygod
solve it
Solve It 1
Solve It 1 (95.85 KiB) Viewed 38 times
Q.6 Write a program in C++ to define a structure that has the following members. Member name code name city country Data type int string string string Declare the structure type variable as defined above, input the data into it and print it on the screen. Q.7 Write a program to declare variables of structure type as mentioned. above (in Q.6). Input data into two structure type variables, swap the values and print the results on the screen after swapping.