Component C: Takunda Mutombwera
Component C: Takunda Mutombwera
COMPONENT C
MUTOMBWERA
Littleman
[COMPANY NAME]
Background
In your community, there are areas where calculators are still manually done
Concepts /Skills
1. Research
2. Problem-solving
3. Design
4. Develop
5. Testing
CALA Description
Part a
o Carry a research on an area which performs some calculations in your
community
o Write down the algorithm for arithmetic operations
Part b
o Design the interface of the calculator using the tools organised in A
o Convert the algorithm for arithmetic operations to your programming
language of choice
o Test the programs and take screen shots
PART A
The system is user friendly, it cut time and have few stages in performing the
task. The user do not need to consult user manual all time when using the
system. It is faster in performance for example processing and displaying the
results
Algorithm of calculator using switch case:
o Begin
Switch(operator)
Case +:
Print ‘Addition’.
break
Case -:
Print ‘Subtraction’.
break
Case *:
Print ‘Multiplication’.
break
Case /:
Print ‘Division’.
break
Default:
INTERFACE
CALCULATOR
DEL
1 2 3 +
4 5 6 -
7 8 9 /
. 0 = *
CODE LISTING
Public Class Form1
End If
End Sub
End Sub
End Sub
End Class