Home College Assignments

College Assignments

Address Book program in C++

In C++ we can write an address book program that can store a person’s name and other related data, In this given source code, we are not using any file handling...

Binomial Coefficients in C++

How we implement a logic to find out the binomial coefficients of an entered number by the user in C++?. Look at the below code: # include <iostream> ...

dynamic Array in C++

Dynamic Arrays also Called Array List in C++ are the ones with random size, which can be expanded if needed and contracted if needed. Dynamic Arrays in C++ have the Following...

Socket Programming in Java

A Socket is the gate way of a two way communication link established between two programs running on the network. Socket consists of IP address and the port identifying the application...

Fibonacci Number program in C++ using Recursion

This program shows A Fibonacci Sequence starting from a user's entered number, the approach used here is recursive.Have a look at the code: //febonacci using recursion ...

Area of Geometric Shapes in C++

In this C++ program the area of geometric shapes (circle, rectangle, and triangle) is calculated easily through classes by asking the user a choice that which shape he wants to deal...

McCarthy 91 function in C++

McCarthy 91 function is a recursive function used within computer science, its definition is: Now how we implement this McCarthy 91 function in our C++ code,  have a look at the below...

Creating a Calculator program in Java

Java, being a power full language, contributes in many technology fields. It has deep contribution in the modern world. A basic calculator program in java can perform logical computations and displays...

Student Registration Project in PHP

In this Student Registration Project we are providing a form in simple html to the student and that form sends the data to "student.php" file where the data is processed and...