Answer:
PRINT "Values for Principal (P), Rate (A) and Time (T)"
INPUT P, A, T
I = P * A * T/100
Amount = P + I
PRINT "Interest: ", I
PRINT "Amount: ", Amount
Explanation:
This prompts the user for values for Principal, Rate and Time
PRINT "Values for Principal (P), Rate (A) and Time (T)"
This gets values for Principal (P), Rate (R) and Time (T)
INPUT P, A, T
This calculates the interest (I)
I = P * A * T/100
This calculates the amount (A)
Amount = P + I
This prints the interest (I)
PRINT "Interest: ", I
This prints the amount (A)
PRINT "Amount: ", Amount
Answer
References tab.
Explanation
In MS word documents, you can add footnotes and endnotes by;
• Clicking the area to add a footnote
• Clicking references, then insert Footnote. The word program will insert a reference mark in the text and will add the footnote mark at the bottom of the page
• Type a footnote text.
Hope this Helps!
Answer:
First equation x=4
second equation x=3
Explanation:
The question is telling us that 'X' is equal to 8. It's another way of representing this number using X as the variable replacing it.
We input 8 instead of the X to solve the equation, and here in the picture, you can see where I went from there.
Do the same thing for the other equation.
I hope this helps :)
Answer:
A is the input array
B = []
; %B is initially an empty array
for i = 1:length(A)/2 %iterates over A until the midpoint of A
B(i) = A(i) + A(end + 1 - i); %This adds the numbers from the first half and %second half of A, and stores in B
end
disp(B)