You are on page 1of 32

Government Collage

University Lahore.

ASSIGNMENT
REPORT

How my program works.


My Introduction

 Name = Jaseem Bhatti


 Class = BSCS
 Section = E-2
 Roll no. = 280-BSCS-2019
INSTRUCTIONS

To use the Program you have to


follow the given instruction
 To start the program you have to
press “S”.
 To end the program you have to
press “E”.
 If you press any other key then it
will generate an error message.
 After starting the program you are
able to use all the given operators.
 Instructions with
screen shoots

Instruction 1: First you see this screen


Instruction 2: Then you have to press “F9” OR go
to “EXECUTE” shown in title bar

Instruction 3: After pressing “F11” you see


the Output box.
Instruction 4: If you press “S” then
calculator will Start and you see the give
screen.

OR
 If you enter “E” then calculator will end
and you see the given screen.

After pressing any key you return to main


screen(coding screen).
Instruction 5: When the calculator start
then you have to choose the given Operators.
Arithmetic Operator

Instruction 6: If you press 1 then are able to use


Arithmetic Operator . When you press 1 then you see
the given screen.
Instruction 7: If you press 1 then you are able to
use ADDITION function. You see the given screen.
Instruction 8: After choosing Addition function
you have to enter 1 operand and then 2 operand. When
you enter 1 and 2 operand then you see the given
screen.
 Press enter after assigning the values then you see
the result as given
Instruction 9: Select one of the given function to
proceed forward.
 If you press 1 then you can able to use this function
again as shown

 Again enter values and use this function.

 If you press 2 then you go back to Arithmetic


functions and able to again select any of the
function
 If you press 3 then you go back to choose all
operator to use one of them

 If you press 4 then it will take you back to start and


end portion
Instruction 10: Press 2 to use subtraction
function as shown

 After pressing 2 you have to enter 1 and 2 operand


 And press enter
 After it you have to follow {Instruction 9} again to
use calculator further.

Instruction 11: Press 3 to use Multiplicative


function as shown

 After pressing 3 you have to enter 1 and 2 operand


 And press enter
 After it you have to follow {Instruction 9} again to use
calculator further.

Instruction 12: Press 4 to use Division


function as shown

 After pressing 4 you have to enter 1 and 2 operand


 And press enter
 After it you have to follow {Instruction 9} again to use
calculator further.

Instruction 13: Press 0 to go back to the start


as shown

 After pressing 0 your calculator will start again


Choose Operators
Logical Operator

Instruction 14: Press 2 to use Logical


Operator as shown
Instruction 15: Press 1 to use AND Operator
as shown

 After pressing 1 you are able to use And Operator


 Enter 1 and 2 Operand

 After it you have to follow {Instruction 9} again to use


calculator further.
Instruction 16: Press 2 to use OR Operator as
shown

 After pressing 1 you are able to use And Operator


 Enter 1 and 2 Operand

 After it you have to follow {Instruction 9} again to use


calculator further.
Instruction 17: Press 0 to go back to choose
Operators as shown
Increment OR Decrement
Operator

Instruction 18: Press 3 to use Increment Or


Decrement Operator as shown
Instruction 19: Press 1 to use Increment
Operator as shown

 After pressing 1 you have to enter 1 and 2 Operand


 And then press enter

 After it you have to follow {Instruction 9} again to use


calculator further.
Instruction 20: Press 2 to use Decrement
Operator as shown

 After pressing 2 you are able to use OR Operator


 Enter 1 and 2 Operand

 After it you have to follow {Instruction 9} again to use


calculator further.
Instruction 21: Press 0 to go back to choose
Operators as shown
Assignment Operator

Instruction 22: Press 4 to use Assignment


Operator as shown

 Assign value to variable K and L


 Then you have the output just like that
 If you press 0 then it will show you the sum of both
variables just like that

 If you press any other number than it will not


generate the sum portion.

 After it you have to follow {Instruction 9} again to use


calculator further.
Comparison Operator

 Instruction 23: Press 5 to use Comparison


Operator as shown

 After pressing 2 you are able to use Comparison


Operator
 Enter 1 , 2 and 3 Operands
 Instruction 24: If you want to find
Greater value from these 3 variables than you
have to press 1

 After it you have to follow {Instruction 9} again to use


calculator further.
 Instruction 25: If you want to find Lesser
value from these 3 variables than you have to press 2

After it you have to follow {Instruction 9} again to use


calculator further.

You might also like