Uploaded by alshabaniosama

ICT Project

advertisement
ICT PROJECT
By : Almutasim Alothaim
Supervised by : Musa Musa
Grade : 12-G
ICT PROJECT
Algorithm
Start
Start of algorithm.
Take
Take two numbers as input and store it in the variables a and
b.
Take
Take an input to let the user choose the operation that needs
to be performed.
Perform
If the user chooses addition, then perform a+b.
Perform
If the user chooses subtraction, then perform a-b.
Perform
If the user chooses multiplication, then perform a*b.
Perform
If the user chooses division, then perform a/b.
Print
Print the value after carrying out the operation according to
the user's choice.
End
End of algorithm.
Flowchart
Pseudo code
• Input first number
• Input second number
• Enter the operator you want to perform
• ch = Enter any of these operator for
operation +, -, *, /
• print result
• else
• print("char is not supported")
• print(num1,ch,num2,": ",result)
Multiplication
Division
Addition
Minus
Conclusion
•
Natural numbers are natural to us, but computer can only
operate with preciously defined syntax not intuitive
definitions. Because of that, we adopt syntax definitions and
substitutions for natural numbers using terms and develop
algorithm for value calculation of such terms. The aim is to
show the students that mathematics consists of presently
adopted symbols, language and rules that should be
studied and learned, but that it is the discipline still
developing, with new ideas appearing and creativity
expressed but not as final outcomes. By using the explained
program students could view the given calculation in a
practical way and understand its substance easier
Download