Showing posts with label Computer Programming. Show all posts
Showing posts with label Computer Programming. Show all posts

## Pascal Program Calculate The Sum and Average of Ten Positive Numbers

This pascal program calculates the sum and average of only ten positive numbers. This means that negative numbers will be excluded and the ...

## C++ Program to Convert Decimal to Binary in Reversed Form

C++ Program to Convert a Decimal number to its Binary equivalent. The result produced after executing the source code will be in a reversed...

## Pascal Subprogram Of Fibonacci Series Using Function

The Fibonacci series is one in which the addition of two previous terms gives you the next term. That is. 0,1,2,3,5,8,13....1 + 2 is the n...

## Pascal program to find the average of numbers using WHILE DO structure

To calculate the sum and average of three different numbers. You can edit the loop and the average formula to repeat it as many times as y...

## C++ Program For Binary Equivalent Of A Decimal Number

The c++ program below finds the binary equivalent of an integer entered by the user in decimal form. The binary system often referred to as...

## C++ Program to Find Largest and Smallest Number in Array

The c++  program below generates a random number and stores it in an array, then  passes an array to a function which calculates the...

## C++ Program to Check If a Character is Small, Capital, Number or Special Character

The C++ Program checks if the value entered by a user is a capital, small, number or a special character. The output also returns the Ascii...

## Find The Perfect Number In C++ Program

C++ program to find if a number is a perfect number or not. A Perfect number is one which the sum of all its divisors equals to the number....

## C++ Program to Find Prime Number Or Not

This c++ program checks if a number is a prime or not. A number which is greater than 1 and can only be divided by 1 and itself are prime nu...

## C++ Program to Compute The Least Common Multiple of Integers

C++ program to compute the LCM of two numbers. Least Common Multiple can be gotten by dividing the numbers by their common factors.Using the...

## C++ Program to Compare The Greatest Of Three Integers

C++ program to compare which is the greatest among three numbers. An IF statement is used to set the condition to know which is less or grea...

## C++ Program To Calculate The Average For 10 Students In 5 Courses

Computer science program using C++ language to calculate the sum and average of 10 students in 5 different courses. Note that c++ is case se...

## C Program To Create Records

The program below holds the name and earnings of an employee. A loop is set for only three employees. You can specify any number of persons...

## Pascal Program For Matrix Multiplication

Pascal program to multiply arrays A[i , j] and B[i, j] . Each element of the resulting matrix is multiplied by 1/4 Program begn; Var A, B,...

## Pascal Program to Read in Even Numbers Into An Array

This program takes in only even numbers into an array of two rows and two columns. Here, a loop and conditional statement is used. Program E...

## Pascal Program to Find The Average Of Only Positive Numbers Using While Do loop

Using the while do loop, the program calculates the sum and average of only three positive numbers. Any negative number entered by the user ...

## Pascal program To Calculate Area of a Triangle

Write a pascal program that uses a function subprogram called N to calculate the area of a triangle with the formula: Area=√N(N-X)(N-Y)(N-Z)...