Asked by hi
hello I need help with this algorithm I need to write it as a pseudocode
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 to the screen
thank you
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 to the screen
thank you
Answers
Answered by
oobleck
huh? it's just I/O and a little arithmetic.
read n1
n2 = (n+5)*2-7
print n2
read n1
n2 = (n+5)*2-7
print n2
Answered by
Muhammad bin Muhammad
Draw a flowchart for a program to compute the result of a student, and determine if the student passes or fail, given the pass mark =40?
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.