<span>The main trade-off that all investors must consider is Risk vs Return
In the end, all the techniques that implemented in investing process is aimed for nothing other than profit.
Current market trend dictates that potential return tend to be higher the riskier the investment is and vice versa.
</span>
Answer:
numbers = 1:1:100;
for num=numbers
remainder3 = rem(num,3);
remainder5 = rem(num,5);
if remainder3==0
disp("Yee")
else
if remainder3 == 0 && remainder5 == 0
disp ("Yee-Haw")
else
if remainder5==0
disp("Haw")
else
disp("Not a multiple of 5 or 4")
end
end
end
end
Explanation:
- Initialize the numbers variable from 1 to 100.
- Loop through the all the numbers and find their remainders.
- Check if a number is multiple of 5, 3 or both and display the message accordingly.
Answer:
The answer to this question can be described as follows:
Explanation:
The Pseudocode to this question can be described as follows:
start \\ start process
Declaration of variable
Input_File records.txt
Output_File result.txt
string author_Name
, title
int number_of_volume
open Input_File
open Output_File
input author_Name, title, number_of_volume from records.txt
while not eof \\ start loop and eof is end of file
output author_Name
output title
output number_of_volume
end while \\end loop
close records.txt \\close file
close results.txt \\close file
END \\end the code