Tuesday, May 19, 2020

prefix-- ,postfix-- in c language example

                                  prefix-- ,postfix-- in c language example 


postfix++,prefix++ unary operator in c language example

postfix++,prefix++ unary operator in c language example


SUBTRACTION of two hexadecimal number


SUBTRACTION of two hexadecimal number

2S COMPLEMENT OF A NUMBER


2S COMPLEMENT OF A NUMBER


1'S COMPLEMENT OF A NUMBER

1'S COMPLEMENT OF A NUMBER


addition of two hexadecimal numbers


addition of two hexadecimal numbers


addition of three hexadecimal numbers

addition of three hexadecimal  numbers


LDA STA instruction IN COMPUTER ARCHITECTURE

                             LDA STA instruction IN COMPUTER ARCHITECTURE



Friday, May 15, 2020

West Bengal Board class 11 visual basic program 4. get input from inputbox and check it is positive negative or zero

West Bengal Board class 11 visual basic program 4. get input from inputbox and check it is positive negative or zero

Get input using inputbox, and then check it is positive or negative or zero in vb6,print using msgbox (visual basic)


Private Sub Form_Load()
Dim a As Integer
a = Int(InputBox("enter a number"))
If a = 0 Then
MsgBox (a & "is zero")
ElseIf a > 0 Then
MsgBox (a & "is positive")
Else
MsgBox (a & "is nagetive")
End If
 End Sub

West Bengal Board class 11 visual basic program 3. get input using inputbox and then sum of digit

West Bengal Board class 11 visual basic program 3. get input using inputbox and then sum of digit

Get input using inputbox, and then sum of digits (2digit) and display using msgbox in vb6(visual basic)


Private Sub Form_Load()
Dim a, b, c As Integer
a = Int(InputBox("enter a number"))
b = a Mod 10
c = a \ 10
d = b + c
MsgBox (d)
End Sub