# Category: programming

## Converting Decimal to Hex in Java

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30… Read more »

## How to Sort Three Variables in Ascending Order.

Sorting three variables in ascending order. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24… Read more »

## Convert from Decimal to Binary in Java.

This code show how to convert from decimal to binary. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 public class Binary284 { public static… Read more »

## File Input Validation.

This code performs file input validation by checking whether the file exist and prompting the user for the name of the file two more times, if after 2nd time file… Read more »

## Binary Search with Recursion.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30… Read more »

## Infix to Postfix Conversion Using Stacks and Generics.

Infix to postfix conversion takes a formula like 2 + 2 – 1, which is infix, and converts it to postfix: 2 2 + 1 -. taking in account the… Read more »

## Prime Factorization with Recursion in Java.

Prime factors of a number, are all numbers that are prime and multiplied gives you the original number. Let’s take the number 20 for example, all prime factors of 20… Read more »

## Total Sum of All Numbers in Array With Recursion.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 public class Tester {   //sum of all numbers in array with… Read more »