Hollow Rhombus star pattern program in C – In this distinct article, we will explain how to print a hollow rhombus star pattern in C Programming. A bunch of methods are used to print the Hollow Rhombus Star Pattern in C Programming such as: Using For Loop Using While Loop Using Do-While Loop As we all know, Rhombus is a ...
Read More »Author Archives: Writer - MK
Java Program : Convert Lowercase Character to Uppercase in Java
Java Program to Convert lowercase character to uppercase character, the following program has written in different ways to convert small alphabets to capital alphabets. Sample output is also added after the Java program, Java String toLowercase() and toUpperCase(). Our problem statement here is, to convert all the lowercase character of the given input into uppercase. To do this, we require ...
Read More »Volume Of Cuboid : Java Program In 3 Simple Ways
Java program to calculate the volume of a cuboid. We can find the value of cuboid in so different ways. We do written the code in 3 different ways check out the table of contents so that you will get an idea. If you have any doubts related to the following java program to find the volume of cuboid, then do ...
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 »Java : Hurdle Race & Jump Solution Hackerrank | Java Programs
Hurdle race & hurdle jump java program Hackerrank solution, Create a function that takes an array of hurdle heights and a jumper’s jump height, and determine whether or not the hurdler can clear all the hurdles. A hurdler can clear a hurdle if their jump height is greater than or equal to the hurdle height. Examples: hurdleJump([1, 2, 3, 4, ...
Read More »Java Program : Calculate Batting Average Example | Programs
Java Program to calculate the batting average. The following program is written in five different ways by using standard values, user-defined method, scanner class, through creating a separate class. Do check it out. Methods we used in this Cricket Batting Program: Using standard Method Using Scanner Class Using Command Line Arguments User Define Method Separate Class By Using Standard Values There ...
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 »C Program to find the Area Of a Circle
C Program to find the Area of a Circle – In this particular article, we will detail in how to find the area of a circle in C Programming. There are multiple ways explained in this piece on how to find the area of a circle. Check out the suitable examples and the sample programs mentioned to explain the c ...
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 »Compound Interest : Java Program In 5 Simple Ways | Programs
How to write a Java program to calculate compound interest? Here we share the code in five different formats to find compound interest program. Using standard values, using recursion, using command line arguments, using while loop, for loop, and using function method etc. We can even write the following Java code to find compound interest in more than 10+ ways ...
Read More »