Java Program To Calculate Salary of An Employee – In this article, we will detail in on all the methods used to calculate the net salary of an employee in Java Code. Suitable examples and sample programs have been included in order to make you understand simply. Employee program in Java. The methods used in this article are as follows: ...
Read More »Author Archives: Writer - MK
Java Program To Calculate Average Of N Numbers
Java program to calculate the average of N numbers. Here is the code to calculate the average of N numbers or average of 2 or 3 numbers. The following code has been written in three different ways, using standard values, using do while, recursion, command line arguments, creating a separate class, user-defined method. How to calculate the average of N ...
Read More »C Program Volume Of Cuboid | C Programs
C program to find the volume of a cuboid – In this stipulated article, we will talk about the multiple ways of how to find the volume of a cuboid in C programming. Several suitable examples and sample outputs have been added as well. The compiler has been added for the proper understanding of the following C programming codes. The ...
Read More »Java Program To Find Area Of Equilateral Triangle
Another exciting post, Java program to find the area of an equilateral triangle or to calculate the equilateral triangle in just two to three simple code lines. Most of the programs that you came across are good, but the length of the code was pretty annoying and confused too. So, we came up with the new code that works well, with ...
Read More »Command Line Arguments In Java With Examples | Tutorials
Command line arguments is a methodology which user will give inputs through the console using commands. Whatever the concept that you preferred to learn in java , we are highly recommended to go through the examples. In reality , theoretical carries a just 20% of the subject , practically carries a lot more than 80%. Fewer technical words ! More ...
Read More »C Program To Calculate Perimeter Of Square | C Programs
C Program to Calculate the perimeter of a square – In this distinct article, we will brief in on the multiple ways to calculate the perimeter of a square in C Programming. In this blog, we have given suitable examples and sample programs for you. The compiler has also been added in order to understand the codes little better. The ...
Read More »C Program To Calculate Perimeter Of Rectangle | C Programs
C Program to Calculate the perimeter of a rectangle – In this distinct article, we will brief in on all the ways you can calculate the perimeter of a rectangle in C Programming. The ways that are used to do so in this blog are as follows: Using Standard Method Using Functions Using Pointers Using Macros In this piece, we ...
Read More »Java Program To Find Area Of Rectangle | 3 Ways
Java program to calculate the area of a rectangle. There are maybe so many methods in order to write the java program to find the area of a rectangle. Here we share the two methods, sample method -1, and sample method-2 with online compiler and execution tool. Below are the online compiler and execution tool check it out #area of ...
Read More »Java Distance Traveled By Vehicle Program | 4 Ways
Java code distance traveled by vehicle. the following java program has been written in multiple ways along with detailed explanation. If you have any queries for this java code for total distance traveled in Java just leave a comment here. Distance traveled is equal to – Velocity*time taken to travel. To rephrase it – Distance = Velocity*time taken to travel ...
Read More »Java Program To Calculate Discount Of Product | Programs
Java program to calculate discount of a product. With the help of the following program, you can calculate the discount of a product instantly. The following code has been written in five different ways. By using standard values, using command line arguments, while loop, do while loop, user-defined method and creating a separate class. How to calculate a discount on a ...
Read More »