j
Java
import java.util.*;
class cool
{
Scaner sc = new Scanner(System.in);
System.out.println("Enter a decimal");
double a = sc.nextDouble();
Systrem.out.println("The numver u enterd is " + a);
}def hexConvert (x):
return int(x, base)
x = str(input("input value to convert to decimal: "))
base = int(input("Base of value to be converted to decimal: "))
print(x, " in base ", base, " = ", hexConvert(x), " in decimal")
Also in Java:
- Title
- how to take max value from priority queue in java
- Category
- Java
- Title
- boolean java.lang.String.equals(java.lang.Object)' on a null object reference
- Category
- Java
- Title
- java loop object
- Category
- Java
- Title
- fibonacci sequence in java recursion
- Category
- Java
- Title
- comparable on a generic class java
- Category
- Java
- Title
- get sha key android
- Category
- Java
- Title
- java how to initialize an array
- Category
- Java
- Title
- how to add all list elements at once in java
- Category
- Java
- Title
- eliminar fila jtable java
- Category
- Java
- Title
- random processing
- Category
- Java
- Title
- iterator for array java
- Category
- Java
- Title
- how to print to the console in java
- Category
- Java
- Title
- jsonobject to java object
- Category
- Java
- Title
- double to string java
- Category
- Java
- Title
- java processbuilder example
- Category
- Java
- Title
- convert string to array java
- Category
- Java
- Title
- java method to capitalize first letter
- Category
- Java
- Title
- transformer un string en Biginteger java
- Category
- Java
- Title
- how to format a double in java to 2 decimal places
- Category
- Java
- Title
- java read integer from text file into array scanner
- Category
- Java
- Title
- java for
- Category
- Java
- Title
- applicationcontext.xml
- Category
- Java
- Title
- java random boolean
- Category
- Java
- Title
- jtable font size
- Category
- Java
- Title
- protect java
- Category
- Java
- Title
- recursion in java
- Category
- Java
- Title
- convert hashset to array
- Category
- Java
- Title
- in javascipt how to stop further page processing
- Category
- Java
- Title
- not equal to java
- Category
- Java
- Title
- properties java 8 maven in pom xml
- Category
- Java
- Title
- java newinstance alternative
- Category
- Java
- Title
- jtable get get row
- Category
- Java
- Title
- convert array to list java
- Category
- Java
- Title
- java bigdecimal compareto
- Category
- Java
- Title
- send variable intent
- Category
- Java
- Title
- hashmap get value java
- Category
- Java
- Title
- java random number generator in range
- Category
- Java
- Title
- java replace all html tags
- Category
- Java
- Title
- eclipse does not support logback with spring boot
- Category
- Java
- Title
- how to get all of the chldren of a panel in java
- Category
- Java
- Title
- how to calculate exponential in java
- Category
- Java
- Title
- scanner check if int
- Category
- Java
- Title
- java how to compare strings
- Category
- Java
- Title
- java djikstra's algorithm
- Category
- Java
- Title
- @fortawesome/free-solid-svg-icons
- Category
- Java
- Title
- vector length java
- Category
- Java
- Title
- set iteration java
- Category
- Java
- Title
- java stack
- Category
- Java
- Title
- java rest client response json
- Category
- Java
- Title
- string to arraylist convert java
- Category
- Java
- Title
- java cast duration to long
- Category
- Java
- Title
- read a mail and its content in java mail api
- Category
- Java
- Title
- java for each
- Category
- Java
- Title
- how to convert string to double in android studio
- Category
- Java
- Title
- how to get a user input in java
- Category
- Java
- Title
- java new string array
- Category
- Java
- Title
- writing to a text file java
- Category
- Java
- Title
- how to print ascii value in java
- Category
- Java
- Title
- elasticsearch api code call using highlevelrestclient
- Category
- Java
- Title
- java public static void main
- Category
- Java
- Title
- java nextpermutation
- Category
- Java
- Title
- what is static setter and getter examples in java
- Category
- Java
- Title
- java observable
- Category
- Java
- Title
- number to char java
- Category
- Java
- Title
- how to print a 2d array in java
- Category
- Java
- Title
- get day name from date in java
- Category
- Java
- Title
- dice in java
- Category
- Java
- Title
- charat(0).touppercase() java
- Category
- Java
- Title
- how to compare current date and time with another date and time in android
- Category
- Java
- Title
- snackbar not showing with bottom nav
- Category
- Java
- Title
- déclarer un tableau en java
- Category
- Java
- Title
- android studio keep device awake
- Category
- Java
- Title
- generate objects with for loop java
- Category
- Java
- Title
- java fx display simple rectangle
- Category
- Java
- Title
- java resultset to table
- Category
- Java
- Title
- read from elasticsearch in spark
- Category
- Java
- Title
- could not initialize defaultkotlinsourcesetkt intelij
- Category
- Java
- Title
- logging in java
- Category
- Java
- Title
- compare list from db and list from request
- Category
- Java
- Title
- how to get the dimensions of a 2d array in java
- Category
- Java
- Title
- override java
- Category
- Java
- Title
- how to add a keylistener to a jframe
- Category
- Java
- Title
- java method
- Category
- Java
- Title
- how to take space separated input in java
- Category
- Java
- Title
- how to declare array java
- Category
- Java
- Title
- java map foreach
- Category
- Java
- Title
- convert array of int to arraylist java
- Category
- Java
- Title
- how to iterate list in java selenium
- Category
- Java
- Title
- restart application programmatically android
- Category
- Java
- Title
- kotlin add element to array
- Category
- Java
- Title
- java create a set with values
- Category
- Java
- Title
- java 8 group a collections by 2 property
- Category
- Java
- Title
- java code to get all leaf nodes of a xml file
- Category
- Java
- Title
- read lines of file randomly java
- Category
- Java
- Title
- sdkmanager JAVA_HOME invalid directory
- Category
- Java
- Title
- spigot actionbar
- Category
- Java
- Title
- 2 decimal places print format JAVA
- Category
- Java
- Title
- expression régulière seulement un espace java
- Category
- Java
- Title
- how to test how many of one character is in a string java
- Category
- Java
- Title
- init cap java
- Category
- Java