sign up I login
 advanced
refer a friend - earn nickels!!

Ask & Discuss Questions with Community & Experts

Moderation Team
Ask iit jee aieee pet cbse icse state board community Discussion Response Post to: vb help .....................
Forum Index -> General -> View Full Question like the article? email it to a friend.  
Author Message
kislay (1108)

Blazing goIITian

Olaaa!! Perrrfect answer. 196  [260 rates]

kislay's Avatar

total posts: 785    
offline Offline
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

B.Tech CSE, ISMU
 this reply: 5 points  (with Olaaa!! Perrrfect answer.   in 1 votes )   [?]
 
You have to be logged on to rate
  
 

Top Offers for goIITians
Correspondence Courses
Brilliant Tutorials
Narayana Institute
Aakash Institute
Classroom/Crash Courses
Narayana - Kota , Delhi , Others
Brilliant Tutorials - Class , Crash
Aakash Institute - Medical , Engg
Online Test Series
Brilliant Tutorials
Narayana Institute
Aakash Institute
Mahesh Tutorials
AMITY      Sri Chaitanya