Java program to print or draw the hollow mirrored rhombus star/asterisk in four different ways. The following program has been written in four different ways along the sample example program and outputs. At this end of this section, we added an execution tool where you can able to execute the program. Learn more about what are data types in Java, ...
Read More »Author Archives: Java Tutor
Java Program To Insert An Element In Array | Programs
Java program to insert an element in an array or at a specified position. We will discuss a couple of methods on how to insert an element in an array at a specified position. The compiler has been added so that you can execute the programs yourself, alongside suitable examples and sample outputs added. The following program has been added ...
Read More »C Program To Find Reverse Of An Array – C Programs
C program to find the reverse of an array – In this article, we will explain the many means to find the reverse of an array in C programming. Suitable examples and sample programs have also been added so that you can understand the whole thing very clearly. The compiler has also been added with which you can execute it ...
Read More »C Program To Check Character Is Uppercase or Lowercase | C Programs
C program to check whether an alphabet is uppercase or lowercase – In this article, we will detail in on how to check for a character to be an uppercase or lowercase alphabet in C programming. Only the standard method is going to be used to carry out the same. Suitable examples and sample programs have also been added so ...
Read More »C Program To Check A Number Is Negative, Positive Or Zero | C Programs
C program to check whether a number is negative, positive or zero – In this article, we will detail in on the multiple ways to check whether a number is negative, positive or zero in C programming. Suitable examples and sample programs have also been added so that you can understand the whole thing very clearly. The compiler has also ...
Read More »C Program To Calculate Profit or Loss In 2 Ways | C Programs
C Program to calculate Profit or Loss – In this article, we will brief in on the way to calculate the profit or the loss on a given commodity or service. Only the standard method will be used to calculate the same. Suitable examples and sample programs have also been added so that you can understand the whole thing very ...
Read More »Loops In C – Tutorial With Examples | C Programming
A loop is a construct used to execute a set of statements repeatedly. In C language, we have 3 kinds of looping constructions. Though syntactically different, the purpose of these three is same. Different Types of Loops In C Programming Most common used Loops are as follows: While Loop Do while Loop For Loop Rest of the Loops as follows: ...
Read More »C Program Inverted Pyramid Star Pattern | 4 Ways – C Programs
C Program to print an inverted pyramid star pattern – In this article, we will detail in on the multiple ways to print an inverted pyramid star pattern in C programming. Suitable examples and sample programs have also been added so that you can understand the whole thing very clearly. The compiler has also been added with which you can ...
Read More »Armstrong Number In Java Program – 5 Simple Ways
Armstrong number in Java. Here we have written the code in four different ways standard, using for loop, recursion, while loop and also with different examples as like: between 100 and 999, between 1 to 1000 and between 1 to 500 with sample outputs and online execution tool embedded. What is Armstrong Number? A: An Armstrong number of three digits is an ...
Read More »C Program To Check Whether A Year Is Leap Year Or Not | C Programs
C program to check whether a year is a leap year or not – In this article, we will talk about the way to check whether a year is a leap year or not. Suitable examples and sample programs have also been added so that you can understand the whole thing very clearly. The compiler has also been added with ...
Read More »