Professional Documents
Culture Documents
Technology
Submitted By:
Rifat Bin Rashid
ID: 1606117
Section: B2
Level: 4 Term: 1
Problem 1:
CODE:
Output:
Here, S and P are declared to store the results from (A+B) and
(A+B)*C.
Problem 2:
Code:
Output:
Here,
A= 4509 F056 (H)
B= 1509 1056 (H)
C= A*B = 5AC 4278 5162 1CE4 (H)
This result was justified by a hex calculator and the same
output was obtained by code.