Latest :

C Constants – Tutorial With Examples | C Programming

From the list of C tutorials, another guide for c learners on C constants. C constants with example programs and syntax. Do check it out. What are C constants? Constants in any language would depend on the types of data the language supports. Basically C language has 4 data types and obviously we can say that there are 4 types ...

Read More »

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 »

Java Program for Matchstick Houses | Java Programs

Java program for matchstick houses, This challenge will help you interpret mathematical relationships both algebraically and geometrically. Create a function that takes a number (step) as an argument and returns the amount of matchsticks in that step. See step 1, 2 and 3 in the image above. Examples: matchHouses(1) ➞ 6 matchHouses(4) ➞ 21 matchHouses(87) ➞ 436 To find the ...

Read More »

Find Missing Third Angle in Triangle : Java Program

Java Program to enter two angles of a triangle and find the third angle in Java, to find the missing third angle, we first need the other two known angles of the triangle. Our expected output is whether the angle is an acute angle, an obtuse angle or a right angle. To begin the solution, we first require the two ...

Read More »

C Program To Count Total Number Of Notes in Given Amount

C Program to count the total number of notes in a given amount – In this distinct article, we will describe the multiple ways to count the total number of notes in a given amount in C programming. The ways used to count the total number of notes in a given amount in C programming are as follows: Using Standard ...

Read More »

Java Programs – 500+ Simple & Basic Programs With Outputs

Java programs: Basic Java programs with examples & outputs. Here we covered over the list of 500+ Java simple programs for beginners to advance, practice & understood how java programming works. You can take a pdf of each program along with source codes & outputs. In case if you are looking out for C Programs, you can check out that ...

Read More »

Java Program To Check Vowel Or Consonant | 5 Ways

Java program to identify whether the given character is a vowel or not. With the help of the below program, you will get to know how to write and print whether the given number is a vowel. We have written the program in three different ways, using if else statement, using switch case, user-defined method – learn more about switch ...

Read More »

Control Statements In C – C Programming | Tutorials

Control statements in C With Examples, sample outputs and list of sample programs here. List of C Tutorials for beginners. And, list of C programs. Our team has so far written 350+ sample program both in C and C++. What are control statements in C? In C, we have 32 standard keywords and out of them 12 (the keywords in ...

Read More »

Java Program Addition Of Two Numbers – 4 Ways | Programs

Java program to print or calculate addition of two numbers with sample outputs and example programs. Addition of two numbers program is quite a simple one, we do also write the program in five different ways using standard values, command line arguments, classes and objects, without using addition+ operator, method, BufferedReader with sample outputs and code. How to add numbers? Well, do ...

Read More »

C Program Area Of Equilateral Triangle | C Programs

C Program to find the area of an equilateral triangle – In this particular article, we will detail in on the various methods to calculate the area of an equilateral triangle. The several methods used to do so are as follows: Using Standard Method Using Function Using Pointers Using Macros In this blog piece, we have added suitable examples and ...

Read More »