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

Read More
Home / Computer Programming

Showing posts with label

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

**Computer Programming**. Show all posts## 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...

Read More
## C++ Program to Find All The Roots Of A Quadratic Equation

A quadratic equation has the form ax^2+bx+c=0 where x is an unknown, and a, b, c represent values which in this c++ program will be suppl...

Read More
## 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...

Read More
## 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...

Read More
## 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...

Read More
## 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...

Read More
## 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...

Read More
## 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....

Read More
## 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...

Read More
## 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...

Read More
## 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...

Read More
## 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...

Read More
## 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...

Read More
## 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,...

Read More
## 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...

Read More
## 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 ...

Read More
## 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)...

Read More
## BASIC Program to Create Multiplication Table

This program displays the times table from 1 to 5 in rows and columns. 10 CLS 20 FOR I= 1 TO 5 STEP 1 30 Print using "###...

Read More
## Pascal Program to Create and Save Records in a Textfile

program Create_Records; Type Gra = String [30]; File_Content = Record Name : Gra; Matric_No : Gra; Dept : Gra; Sex : Gra; Date_Of_Bi...

Read More
Subscribe to:
Posts
(
Atom
)