i have write a c++ progam psudocode
on additon of two numbers and average of two numbers enterd from keyboard

Here a program of addition and you input through a keyboard try it very easy
integer1 = raw_input( "Enter first integer:\n" )
integer1 = int( integer1 )

integer2 = raw_input( "Enter second integer:\n" )
integer2 = int( integer2 )

sum = integer1 + integer2

print "Sum is", sum