Answer:
The program in C++ is as follows:
#include<bits/stdc++.h>
using namespace std;
class Complex {
public:
int rl, im;
Complex(){ }
Complex(int Real, int Imaginary){
rl = Real; im = Imaginary;
}
};
int main(){
int real, imag;
cout<<"Real: "; cin>>real;
cout<<"Imaginary: "; cin>>imag;
Complex ComplexNum(real, imag);
cout<<"Result : "<< ComplexNum.rl<<" + "<<ComplexNum.im<<"i"<<endl;
}
Explanation:
See attachment for explanation
Answer:
#include <iostream>
using namespace std;
void swap(int& m, int& n) /* passing by reference so that changes will be made in the original values.*/
{
int t=m;
m=n;
n=t;
}
int main()
{
int val1,val2;
cout<<"Enter the values"<<endl;
cin>>val1>>val2;
cout<<"Values before swap "<<val1<<" "<<val2<<endl;
swap(val1,val2);
//calling the function swap..
cout<<"Values after swap "<<val1<<" "<<val2<<endl;
return 0;
}
Explanation:
Created a function swap with 2 arguments m and n passed by reference.
Answer:
a. It aids in the comprehension of the existing status of the business or process.
b. No, it not possible to we think of analytics without data
Explanation:
a. How do you describe the importance of data in analytics?
Data analytics can be described as the art and science of extracting useful information from data.
It aids in the comprehension of the existing status of the business or process and serves as a solid foundation for forecasting future results. Businesses can use data analytics to better comprehend the present market situation and adjust their processes or trigger the need for new product development to meet market demands.
b. Can we think of analytics without data?
No, it not possible to we think of analytics without data. This is because the raw material that is employed for analytic is data. Therefore, there would be nothing like analytics when there is no data.
Harry would need to change the "color scheme" to change the background of all his presentation slides.