Latest Article

How to create a subdomain for use with Blogger

 Not all sites are meant solely for blogging. Some websites only include a blog for marketing purposes only. This is because blogs can drive traffic to your site. Each site visitor is a potential customer who can end up buying products or services on the website. I am going to show you how you can create a subdomain that can then be used as a custom domain on Blogger. Creating a subdomain in CPanel Most web hosting companies in Zimbabwe provide packages that come with CPanel and therefore I shall use it as an example. It is easy to create a subdomain in CPanel. A subdomain has two main purposes. It can act be used to host a different website or to organize the main domain so as to improve the user experience. If your main domain is '', then a subdomain can be ''. To create '', simply lo into CPanel and head on to the section written 'subdomains'. Go on to create your subdomain by just entering the word 'blog

C Program To Calculate Water Bill


1.          You need to show how to calculate the charges for using water for a particular month that is provided by the Water Utility Company. Charges are calculated based on this information:
•    Outstanding payment amount
•    Previous meter reading
•    Current meter reading
Payment rates are given as:
0 - 15 m3                      :     $0.42 per m3,

15.1 - 40 m3                 :     $0.65 per m3,
40.1 m3 and above      :     $1.05 per m3
 with a minimum payment of $5.00
(a)       State the input and output of this problem.                                                     [2]
(b)       State the formula involved.                                                                                [2]
(c)       Give a detailed algorithm for this problem.                                                   [6]
(d)       Write a program that will implement your algorithm                                   [10]

Source Code


Popular posts from this blog

How to write and compile code as well as to publish android apps on a smartphone.

My top six social media apps