Asked by Kemp

You require an algorithm that will receive an integer from the screen, add 5 to it, double it, subtract 7 from it, and display the final number on the screen.

Need help with the input, output, and processing. Also with the solution algorithym.

Answers

Answered by Ngu
Answer
Answered by hi
I'm looking for the answer too but I'm not sure if it's correct or not
BEGIN
PROMPT INT1
READ INT1
SUM=INT1+5
PRODUCT=2*(INT1+5)
DIFFRENCE=7-2*(INT1+5)
TOTAL=7-2*(INT1+5)
DISPLAY TOTAL
END
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions