Home College Assignments

College Assignments

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> ...

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...

Thread Programming In java

Thread programming in java is concerned with how system utilizes its resources. Friendly interface, computations and other intensive tasks can take up a lot of processor time. A java program that...

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 ...

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...

Fractional Calculator in C++

We can easily use structures to create a fractional calculator than can solve fractional numbers in C++. It is just an easy approach through structures, we can easily create a simple...

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...

Java GUI Calculator Source Code

Here we have a Java GUI Calculator Source Code for you in which a Java GUI calculator has been created using "swing" and "awt". The calculator has a simple GUI and performs simple arithmetic...

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...