BLOGGER TEMPLATES AND TWITTER BACKGROUNDS »

Sunday, February 13, 2011

exercise chapter 1 & 2



Sample Question!!!!!!!!


Add and minus two INTEGER numbers with using the formula below:

add= num1+num2
minus= num2-num1







# include < io stream.h> #header
main ( )
{
// variable declaration
int num 1,num 2,add,minus ;
// input 1
Cout << " enter num 1 : " ;
Cin >> num 1 ;
// input 2
Cout << " enter num 2 : " ;
Cin >> num 2 ;
// formula 
add = num 1 + num 2 ;
// output
Cout << add = << add ;
// formula 
minus = num 2 - num 1 ;
// output
Cout << " minus = <<
minus ;
return 0 ;
}


abez pown wt exercise nie...pch pale jugak kite owg time siapkn bnda nie dlm kls....
tp akhrnye bjye gk...hahhaha
tq 4 eswara yg tlh memberi tnjuk ajar,,,,
n dak group FANTASTIC 4...
wpown ssh tp kite owg dpt wt plng cpt n btol sume...
wahhhh bangggeee gitu...hahahhaha



0 comments: