Define array. Write a program to store 10 salesmen’s amount in an array and find out total sale & best sales amount.

I’ve got some questions from C++ and other topics and due to the time constraints I am unable to answer all of them in time. But I will always try to solve as many as possible and keep publishing in this blog. This post is in response to Kigozi Ronald from M...

Read More

Tagged As: ,

Download Insertion Sort C++ Source Code

Are you looking to download the C++ source code of Insertion Sort? Here is the code you can copy and paste on your IDE to run, learn and understand it. I tried to make it as simple as possible to read the code and to grasp the output. You can find the screensh...

Read More

Tagged As: , , ,

Write a program using C++ to create a payroll system of any organization. Use functions for updating, displaying and deleting the record of given payroll system

This question was asked in Computer Officer Examination 2010 conducted by Public Service Commission. The question carried 10 mark. Following is the program for this question. I’ve tried to make it simpler and included most essential components only. The ...

Read More

Tagged As: , , , ,

Function to Center Align Text in C++ Program

Though it is simple and really intuitive to align text in center of screen through C++ program, I found many new students are confused and keep looking for any built in function. Thus, here I present the source code of function that will center the text suppli...

Read More

Tagged As: , , , , ,

  • "An expert is a man who has made all the mistakes which can be made, in a narrow field." - Niels Bohr (1885-1962)
  • "Good teachers are those who know how little they know. Bad teachers are those who think they know more than they don't know." -- R. Verdi
  • "The main part of intellectual education is not the acquisition of facts but learning how to make facts live." -- Oliver Wendell Holmes