| Author |
Message |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 7 Mar 2008 15:23:07 IST
|
|
|
1)write a program in vb 2 print even nos upto n value in a text box 2)design a form conssisting of 2 text boxes to accept to nos n wriet a code in vb to display quotient and remainder from 2 seperate label controlsa after clickin on command button plezzzzzzzzzzzz tell these programs quickly .....help they r easy ........bt dont knw hw 2write them .....coz i never attende ma teachers period
|
don't walk as if u rule d world
walk as if u dont care who rules d world
-this is knw as attitude
B who u r and say wat u feel ......
coz those who mind don't matter ........
and those who matter dont mind ......... :)
|
|
|
|
![[Post New]](/templates/default/images/icon_minipost_new.gif) 7 Mar 2008 22:00:07 IST
|
|
|
sumbody help yaar plezzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz kal submit karna hai teacher ko  plezz bataooooooooo
|
don't walk as if u rule d world
walk as if u dont care who rules d world
-this is knw as attitude
B who u r and say wat u feel ......
coz those who mind don't matter ........
and those who matter dont mind ......... :)
|
this reply: 0 points
(with 0 
in 0 votes ) [?]
|
|
You have to be logged on to rate
|
|
|
![[Post New]](/templates/default/images/icon_minipost_new.gif) 7 Mar 2008 22:50:11 IST
|
|
|
1.
Private Sub Command1_Click() Dim n, k As Integer n = 0 k = Val(Text1.Text)
For n = 0 To k Step 2 Print n; Next n End Sub
|
|
this reply: 5 points
(with 1 
in 1 votes ) [?]
|
|
You have to be logged on to rate
|
|
|
![[Post New]](/templates/default/images/icon_minipost_new.gif) 7 Mar 2008 22:55:01 IST
|
|
|
2. Private Sub Command1_Click() Dim n, k, q, r As Integer
k = Val(Text1.Text) n = Val(Text2.Text) q = Int(k / n) r = k Mod n Label1.Caption = q Label2.Caption = r
End Sub
|
|
this reply: 5 points
(with 1 
in 1 votes ) [?]
|
|
You have to be logged on to rate
|
|
|
![[Post New]](/templates/default/images/icon_minipost_new.gif) 8 Mar 2008 17:45:52 IST
|
|
|
in second one use of fix fuction instead of int wud be more appropriate.....
|
|
this reply: 0 points
(with 0 
in 0 votes ) [?]
|
|
You have to be logged on to rate
|
|
|
![[Post New]](/templates/default/images/icon_minipost_new.gif) 8 Mar 2008 18:53:11 IST
|
|
|
Don't know VB . Know only C , Java .
|
this reply: 0 points
(with 0 
in 0 votes ) [?]
|
|
You have to be logged on to rate
|
|
|
![[Post New]](/templates/default/images/icon_minipost_new.gif) 8 Mar 2008 19:12:21 IST
|
|
|
yes kisley is rite
|
If you like my posts, plz. "rate" me! |
this reply: 0 points
(with 0 
in 0 votes ) [?]
|
|
You have to be logged on to rate
|
|
|
|
|