- Code: Select all
//CONVERTING STRING VALUE TO INTEGER VALUE
class er
{
public static void main(String args[])
{
int a,b;
try
{
int c=(Integer.parseInt(System.in.read()));
System.out.println("sum is "+c);
}
catch(Exception e)
{
}
}
}
CONVERSION OF COMMAND LINE STRING VALUE TO INTEGER VALUE
2 posts • Page 1 of 1
CONVERSION OF COMMAND LINE STRING VALUE TO INTEGER VALUE
Recursion programs in java
2 posts • Page 1 of 1
Who is onlineUsers browsing this forum: No registered users and 0 guests |
|