Departmental Store Management System In C Programming With Source Code

Project: Departmental Store Management System (using C Programming Language) This program is adapted to provide information on calculating, adding, viewing goods and other features too. The admin or user is updated about the records without any strain and it is favored much by the people involved in the business sector. As we are aware of the

Continue reading Departmental Store Management System In C Programming With Source Code

Python Basics : How To Calculate Salary of Employee (with Taxable amount)

Simple Python Program To Calculate Salary of Employee with their certain Taxable amount. This program¬†allows the user to enter values such as: Name of Employee, Name of the Company, Salary Amount and then calculates the Taxable amount with certain salary condition applied in code & displays the Salary. Python Code :- e_name=input(“Enter the name of

Continue reading Python Basics : How To Calculate Salary of Employee (with Taxable amount)

Python Basics : How To Calculate Average Number

This simple¬†Python¬†program allows the user to enter infinite values (with y/n condition ) and then add those entered numbers and displays the average number. Python Code :- a=[ ] b=’y’ while b==’y’: n=input(‘Enter a Number: ‘) a.append(int(n)) b=input(‘Continue(y/n): ‘) s=0 for number in a: s += number avg=s/len(a) print(a) print(“The Sum is %d” % (s))

Continue reading Python Basics : How To Calculate Average Number

Read And Write Images In Java

To read and write image files from local disk or from any URL, javax.imageio.ImageIO class is used. javax.imageio.ImageIO is a final class with some static methods which are useful for image processing. Java Program To Read & Write Image From Local Disc:- import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import javax.imageio.ImageIO; public class ReadAndWriteImage {       public static void main(String[] args)

Continue reading Read And Write Images In Java

How To Format Date In Java?

SimpleDateFormat¬†class of¬†java.text¬†package is used to format given¬†Date¬†object in different pattern. This class has 2 important methods ‚Äď “parse()”¬†and “format()”.¬†To convert string to Date in java parse() method is used and¬†¬†To format the¬†Date¬†object in desired patterns like¬†dd-MM-yyyy,¬†yyyy/MM/dd hh:mm:ss¬†etc format() method is used. While developing an application this program is needed to provide current date in desired

Continue reading How To Format Date In Java?

Java – Decimal To Binary, Decimal To Octal And Decimal To HexaDecimal Conversion

In this tutorial i am going to show you how to convert “Decimal to Binary”, “Decimal to Octal” and “Decimal to Hexadecimal” Check the Java Program below. Java Program To Convert Decimal To Binary :- import java.util.Scanner; public class DecimalToBinary {¬†¬†¬† ¬†¬†¬†¬†public static void main(String[] args) ¬†¬†¬†¬†{ ¬†¬†¬†¬†¬†¬†¬†¬†Scanner sc = new Scanner(System.in); ¬†¬†¬†¬†¬†¬†¬†¬† ¬†¬†¬†¬†¬†¬†¬†¬†//Taking input

Continue reading Java – Decimal To Binary, Decimal To Octal And Decimal To HexaDecimal Conversion

How To Reverse Each Word Of A String In Java?

Example : If Input is = “Java” Output should be = “avaj” How?? -> Split the given¬†inputString¬†into words using split() method.¬†Then take each individual word, reverse it and append to¬†reverseString. Finally print¬†reverseString. Java Code :- public class ReverseEachWord { ¬†¬†¬†¬†static void reverseEachWordOfString(String inputString) ¬†¬†¬†¬†{ ¬†¬†¬†¬†¬†¬†¬†¬†String[] words = inputString.split(” “); ¬†¬†¬†¬†¬†¬†¬†¬† ¬†¬†¬†¬†¬†¬†¬†¬†String reverseString = “”; ¬†¬†¬†¬†¬†¬†¬†¬†

Continue reading How To Reverse Each Word Of A String In Java?