This repository consists of the code samples, assignments, and notes for the Java data structures & algorithms + interview preparation bootcamp of WeMakeDevs.
In Java, there isn't a specific format specifier %i for integers like in some other programming languages such as C and its derivatives. In Java's printf() method, the format specifier for integers is %d.
%f : Supports both double and float numbers in java.
In Java, there isn't a specific format specifier %i for integers like in some other programming languages such as C and its derivatives. In Java's printf() method, the format specifier for integers is %d.
%f : Supports both double and float numbers in java.