Source code of conversion of TK to paisa in java
Wednesday, March 18, 2009
import java.io.*; class paisa { public static void main(String args[])throws IOException { String taka; float a; int paisa; BufferedReader go=new BufferedReader(new InputStreamReader(System.in)); System.out.print("Enter the amount of TK:"); taka=go.readLine(); a=Float.parseFloat(taka); float root=(float)a*100; int loot=(int)root; System.out.println("The given amoubt in paisa="+loot); } } To download the program click here:paisa.java
0 comments:
Post a Comment