Number System Conversion – Python Codes
A Python code for the conversion of numbers from one base to another. Base can be any number between 2 (binary) and 16 (hexadecimal).
Number System Conversion – Python Codes Read More »
A Python code for the conversion of numbers from one base to another. Base can be any number between 2 (binary) and 16 (hexadecimal).
Number System Conversion – Python Codes Read More »
Source codes of a Java desktop application for computing the roots of a quadratic equation – For Learners of Java.
Source codes of a Java desktop app for computing the roots of a quadratic equation Read More »
A simple Java code for writing to a text file
Writing to a text file – Java code Read More »
This Python code will open a text file and read its content, which is a table of numbers. The code then sorts the numbers in each row of the table in ascending order, then writes the newly sorted table to a new text file.
Sorting numbers in each row of a table – Python code Read More »
This Java code reads a text file line by line and prints each line on the monitor screen. The reading continues until the end of the file is reached. The file is then closed, and the program stops. If the file cannot be found, an error message will appear, and the program will be terminated.
Reading a text file – Java code Read More »
A Java code for solving a quadratic equation, and checking if the equation is reduced to linear, has no solution, or has infinite solutions.
Java codes for computing the roots of a quadratic equation Read More »