Answer:
Ask her to get a genuine software
Explanation:
if i will install, it can cause the following problems:
1. Prated software makes your system Vulnerable to the security attacks because the activities of the software are not monitored by any organization and no one is responsible for anything bad happened to your system.
2. It may stop working anytime because there would not be maintenance patches available for it so that it can work properly.
3. It cannot be updated and may cause problems in core functionalities of it.
4.Serious legal actions can be taken against anyone using them because economy has drastic decrease due ti use of it.
Answer:
Consider the following code.
Explanation:
save the following code in read_and_interp.m
function X = read_and_interp(s)
[m, n] = size(s);
X = zeros(m, 1);
for i = 1:m
if(str2num(s(i, 2:5)) == 9999)
% compute value based on previous and next entries in s array
% s(i, 2:5) retrieves columns 2-5 in ith row
X(i,1) = (str2num(s(i-1 ,2:5)) + str2num(s(i+1,2:5)))/2;
else
X(i,1) = str2num(s(i,2:5));
end
end
end
======================
Now you can use teh function as shown below
s = [ 'A' '0096' ; 'B' '0114' ; 'C' '9999' ; 'D' '0105' ; 'E' '0112' ];
read_and_interp(s)
output
ans =
96.000
114.000
109.500
105.000
112.000
10.......................................
Answer:
The statement is as follows:
cout <<fixed<< setprecision(3) <<sales;
Explanation:
Here, I assume that the variable has already been declared.
The syntax to use is:
cout<<fixed<<setprecision(n)<<variable-name;
In this case:
--- i.e. to 3 decimal places
And the variable name is: sales
So, when implemented, the instruction is:
cout <<fixed<< setprecision(3) <<sales;