Saturday, March 9, 2013

Program to add two variables

After adding two constant values now we are adding two variables.
In this program we are taking two variables a and b of integer type.
And a variable c to store the result of a+b.
Value of a and b will vary according to user input.

Try this program :

0 comments:

Post a Comment

Powered by Blogger.