View Single Post
  #1 (permalink)  
Old 12-12-2007, 03:28 PM
ichbintr ichbintr is offline
Member
 
Join Date: Dec 2007
Posts: 3
ichbintr is on a distinguished road
Please help me again , Thanks !!
I am newbie of Java , i teach myself Java ,i dont study at school ,so i have difficult with it ,please help me to solve this ,i get this homework on Net :
Question 1: Write a program for a bank accountant to calculate the interests, which customers will gain on investing any amount of money for any given period of time. (Hint: Keep the rate of interest as fixed.)

Question 2: Write a program to accept two numbers and then display the result of the following operations using the given bit-wise operators:

Number 1 & Number 2:
Number 1 | Number 2:
~ Number 1:
~ Number 2:
(~ Number 1) & (~ Number 2):
(~ Number 1) | (~ Number 2):
Number 1 >> Number 2:
Number 1 << Number 2:
Number 2 >> Number 1:
Number 2 << Number 1:


Thanks in advance !!!
Reply With Quote
Sponsored Links