Java Programming Code Examples
Java > Networking Code Examples
Display largest element of an input Matrix -
C language code to pick & display the largest element of an input matrix. How many rows in the matrix? How many columns in the matrix? The largest element of the matrix is
Calculate Display the Grade of the Student -
To calculate "grade of a student" on the basis of his total marks in C++ Programming, ask to the user to enter marks obtained in some subjects (5 subjects here). To calculate grade
C Check Whether a number is Even or Odd -
C Program code to Check Whether a number is even or odd using if else. A number exactly divisible by 2 leaving no remainder, is known as even number. Any number modulo divided
Header file for AVL tree in C++ Language -
Insert x. Remove x (unimplemented). Return item that matches x. Return "smallest item". Return largest item. Return true if empty or else false. Print tree in sorted order. Return
Programs Converts Octal to Hexadecimal -
To convert octal number to "hexadecimal" in C++, you have to ask to the user to enter the octal number to convert it into hexadecimal to print the equivalent value in hexadecimal
Computing The Volume of A Tetrahedron -
Program to finds the volume of tetrahedron. Call the four vertices of the tetrahedron (a, b, c), (d, e, f), (g, h, i), and (p, q, r). Now create a 4-by-4 matrix in which the coordinate triples
Code find maximum using ladder if.else.if -
Instead of using Nested If Else. Lets combine 2 or more conditions together using Logical Operators. A number j1 among 3 numbers j1, j2 and j3 is said maximum if j1 > j2 and j1 > j3.
C++ Program Implement ScapeGoat Tree -
Function to check if "tree is empty". Function to count number of "nodes recursively". And function to search for an element. Function to search for an element recursively. Function