Forum

How to write a simp...
 
Share:
Notifications
Clear all

How to write a simple function to add two numbers?


Posts: 36
Guest
Topic starter
(@Deepak Jain)
Eminent Member
Joined: 4 years ago

Consider any two numbers and add. how can I get it in using the function. 

1 Reply
Posts: 36
Guest
Topic starter
(@Janani T)
Eminent Member
Joined: 4 years ago

Hi,

You can write a simple function something like below.

 

Create Function AddTwoNumbers

(

@Int1 as Int
@Int2 as Int

)

Return Int

As

Begin

Return (@Int1+@Int2)

End

 

let me know in case of any queries. 

Reply

Self Learning Video Tutorials - Software Course

Leave a reply

Author Name

Author Email

Title *

 
Preview 0 Revisions Saved
Share: