Adding Two Numbers

How to add two numbers without using arithmetic operators?

Questions by dnr.simha23

Showing Answers 1 - 1 of 1 Answers

antony75

  • Aug 4th, 2008
 


int firstnumber = 1
int secondno =2

for(int count =0;count<secondno;count++)
{
       firstnumber++;
System.out.println(firstnumber);
}


  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions