C Program to find the Area of a Semicircle – In this particular article, we will detail in on the ways to find the area of a semicircle in C programming. The ways in which the area of a semicircle is calculated in this piece are as follows: Using Standard Method Using Function Using Pointers Using Macros As we all ...
Read More »Author Archives: Writer - MK
Java : Return/Get First Element In Array List | 4 Ways
Java get first element of array list, the following Java program has been written in a multiple ways to print the first element of an array in Java along with outputs, if you have any doubts you can leave a comment here. Check – Java Return Last Element In Array This code is for displaying or printing out the first ...
Read More »C Program Area Of Rhombus – 4 Ways | C Programs
C Program to find the area of a rhombus – In this specific article, we will detail in on how to calculate the area of a rhombus in C Programming. The methods used in this particular piece are as follows: Using Standard Method Using Function Using Pointers Using Macros A Rhombus is a quadrilateral whose opposite sides are parallel and ...
Read More »C Program Area Of Isosceles Triangle | C Programs
C Program to find the area of an isosceles triangle – In this specific article, we will detail in on the several methods used to calculate the area of an isosceles triangle in C programming. Check out the complete blog to understand the ways. The compiler has been added to aid you with the solutions. Also, check out the sample ...
Read More »Java : Bitwise Operators (AND, OR, XOR) Programs | Java Tutoring
Bitwise operators in Java that may be used to integer types such as long, int, short, char, and byte. The bitwise operator operates on bits and performs bit-by-bit operations. Bitwise operator in java questions has been a thing since the beginning. Here, we will take care of several such as AND operator java program, XOR bitwise Java program, OR bitwise ...
Read More »Java Program To Concatenate Two Strings | Java Programs
Java Program For Concatenating Two Strings – In this specific article, we will cover the Java Program for concatenating or combining two user-defined strings in Java language along with suitable examples and sample output. The problem here is to concatenate two strings input by the user. The input here is two strings that are input by the user. The ...
Read More »Java Program To Print Ordinal Numbers | Java Porgrams
How to print ordinal numbers in Java – This specific article deals with the code for representing a user input number in its ordinal form using Java language. Sample output along with suitable examples will be provided for a proper understanding of the java program for ordinal numbers converter. The problem here is to represent a user-defined number in its ...
Read More »Convert String To Date In Java – JavaTutoring
Convert String to Date In Java – Here we cover the different ways to convert string to date in Java. Out of all those at first we would like to go for SimpleDateFormat. For Example: Let us assume we have a String “5/10/2009” that holds a Date. In American format we can understand this as May-10-2009. Suppose we are working ...
Read More »Java Program To Calculate Modulus | Mod Java
Java Program To Calculate Modulus – In this article, we will explain the multitude of methods to calculate the modulus of a number in Java Programming. Suitable examples and sample programs have been included in order to make you understand simply. The compiler has also been added so that you can execute the programs yourself. The methods used in this ...
Read More »Java : Print Hello Gretting Before Name | Java Programs
Hello Java program – now you can showoutput as Hello, before any of your name. The following code is written in different ways, check out. This code is used to print out or display a greeting by taking input from a user using Java language. The problem here is to print out a greeting addressing someone (example : Hello Gerald) ...
Read More »