Java program to find multiples of 100 & upto N numbers – For any problem, the first step is to understand the problem thoroughly and see if any constraints are mentioned. Then, we need to decide on the inputs required by us to arrive at the solution along with the expected output of our problem. Lastly, we decide the logic ...
Read More »Author Archives: Writer - MK
C Program Area Of Rectangle | C Programs
C Program to find the area of a rectangle – In this particular article, we will discuss how to calculate the area of a rectangle in C Programming. The methods used in this specific article are as follows: Using Standard Method Using Function Using Pointers Using Macros As we all know, rectangles are extremely commonly used quadrilaterals. In a rectangle, ...
Read More »Java Program : Maximum Edge of A Triangle | Java Programs
Java program to calcuate the maximium edge of triangle, Our problem statement here is, to find the longest side or edge of a triangle. For this, our required input will be, the lengths of three sides or edges of a triangle. Our expected output is, one of these three edges that is the longest of all. Initially, to read the ...
Read More »Simple Java Program To Count Syllables | Java Programs
Count syllables in large string in Java – This specific article will be dealing with the Java program to count syllables. Suitable examples, as well as sample output, will be provided. This code is for counting the number of words in a user input string using Java language. The problem here is to count the number of words in a ...
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 »C Program Check A Character Is Upper Case Or Lower Case
C Program to Check Whether A Character is an Upper Case or Lower Case – In this distinct article, we will detail in on the several ways to check whether a character is an upper case or lower case. Check out the blog to access the sample programs and suitable examples. The compiler has been added as well for you to ...
Read More »C Program To Calculate Volume Of Cube | C Programs
C Program to calculate the Volume of a Cube – In this particular article, we will detail in on the methods to evaluate the volume of a cube in C programming. The multitude of ways to do so are as follows: Using Standard Method Using Function Using Pointers Using Macros Several examples and sample programs have been added to this ...
Read More »Java Program To Calculate Depreciation | Programs Hub
Java program to calculate Depreciation. Depreciation is a financial word, defined as the reduction of the recorded cost of a fixed asset in a systematic manner until the value of the asset becomes zero or negligible. We too added how to calculate the Depreciation, formula, and Java program in different ways. Do check it out. What is Depreciation? A: The decrease in value of assets ...
Read More »Java: Add a Consecutive Numbers Program | Java Program
Addition of Consecutive Numbers in Java Program – This specific article talks about the code to find Find consecutive numbers in an array java using Java language. The problem here is to find the sum of a set of consecutive numbers or more specifically the sum of all the numbers from 0 to a user-specified integer. Our constraint here is ...
Read More »Java Program to Calculate Restaurant Bill | Java Programs
Java code to calcuate the resturant bill, the following program is pretty simple one along with sample outputs. We have choosen the famous south indian food to create the following program. We all go to restaurants frequently and eat. Today, let us write a code to calculate the restaurant bill. With multiple items in a restaurant (in our case 10), ...
Read More »