Monday, July 2, 2012

Business Solutions for the Problems by Using C++ Language


Samuel & Sons maintain their Employee Records (Maximum 10) in the following manner. Write a menu based Program for the following.

Main Menu

1.       Add Employee Records
2.       Display all the employees
3.       Over time details
4.       Gross Wage and Bonus
5.       Exit
Enter your Choice:

For the above scenario, The proposed program as mentioned below.
---------------------------------------------------------------

#include <iostream>
using namespace std;

void addemployee()
{
    cout << "employee successfully added."<<endl;
}
void displayemployee()
{
    cout << "Employee Details -2012."<<endl;
}
void displayot()
{
    cout << "Calculate Over Time"<<endl;
}
void displaywb()
{
    cout << "Calculate Wages and Bonus."<<endl;
}
void Error_handle()
{
cout<<"Command Aborted or Refused."<<endl;
}

void menu()
{
int input;
  cout<<"1. Add Employee Records\n";
  cout<<"2. Display all the employees\n";
  cout<<"3. Over time details\n";
  cout<<"4. Gross Wage and Bonus\n";
  cout<<"5. Exit\n";
  cout<<"Selection: ";
  cin>> input;
  switch ( input ) {
  case 1:            // Note the colon, not a semicolon
    addemployee();
    break;
  case 2:            // Note the colon, not a semicolon
    displayemployee();
    break;
  case 3:            // Note the colon, not a semicolon
    displayot();
    break;
  case 4:            // Note the colon, not a semicolon
    displaywb();
    break;
case 5:            // Note the colon, not a semicolon
    Error_handle();
    break;
  default:            // Note the colon, not a semicolon
   Error_handle();
    break;
  }
}
int main()
{
  char x;
   do {
    // message is printed at least one time
    //  even though the condition is false
 menu();
 cout<<"Do you want to continoue : Yes or No...?"<<endl;
cin>>x;
  } while ( x != 'n' );
  cin.get();
}


Saturday, June 2, 2012

Book Marks for IDM IT Club




The farewell event for the members of the it club is very essential for their memories. So that, we could create some cash flow to cover up the expenses as well as promote the IDM brand among the people who are living in Trincomalee District.

















Tuesday, April 10, 2012

Assignment for Practicing Tally 9/ Acc-Pac/ Myob/Quick-book


The following are the accounts of National (Pvt) Ltd. for the month of April 2012. Complete the Assignment within 2 hours and half. It is recommended for the biginners of studying Accounting package.

Question 01
Create the following chart of the accounts.
Assets:
                Fixed assets:
                Motor Vehicle - motor Vehicle at cost
                Office equipments - office equipments at cost
                Building – Building at cost
                Current Assets:
                                Cash In Hand
HSBC
Commercial Bank
Cash Drawler
Inventory
Liabilities:
                Long Term Liabilities:
Bank Loan – HSBC
Bank Loan – BOC
Debentures
Current Liabilities:
Electricity Payable


Incomes:
Sales:
Accounting Books
Song Books
Science Books
Magazines
Novels
English Song CDs
Games CDs


Expenses:
Advertising Fee
Postage
Fuel Expenses
Depreciation:
Motor Vehicle
Office equipment
Building


Cost of Sales:
Purchase
Accounting Books
Song Books
Science Books
Magazines
Novels
English Song CDs
Game CDs

Question 02
Following are the balances as of 01/04/2012.

Fixed Assets:
                                                                At Cost: (Dr)
Motor Vehicle                                      Rs. 125,000.00
Office Equipment                                  Rs.   52,000.00
Building                                                Rs. 200,000.00
Cash and Bank:
HSBC                                              Rs. 400,000.00
Commercial Bank                             Rs. 250,000.00
Cash Drawer                                    Rs.   35,000.00

Long Term Liabilities:
                                        At Cost: (Cr)
Bank Loan – HSBC         Rs. 500,000.00
Bank Loan – BOC           Rs. 500,000.00
Debentures                       Rs.   50,000.00

Current Liabilities                                            
Electricity Payable       Rs.     2,000.00

Debtors Total Rs. 241,000.00
                                          Amount                 Invoice #
Dilshan Book Service          Rs.   75,000.00     0058741
Hello Limited                       Rs.   86,000.00    0064891
S. Mafas & Co.                  Rs.   80,000.00     0000256

Creditors  Total Rs. 116,600.00
                                       Amount                 Invoice #
A. Ranjith                         Rs.   25,000.00    0008978
Free Books (Pvt) Ltd.       Rs.   56,800.00    0041542
Naveen’s Stores                Rs.   35,800.00    0009012


Inventory
Code                     Description                 Units    Cost      
ACB-01/201        Accounting Books      20        Rs.   500.00         
SCI-01/301          Science Books           30         Rs.1,000.00
MAG-01/801      Magazines                   18         Rs.   650.00
COM-01/479      Computer Books         15         Rs.   850.00
NOV-02/01         Novels                        05       Rs. 3,000.00
SGB-02/01           Song Books               10        Rs.   750.00
CDIS-02/01          English Song CDs      50         Rs.   350.00
CDIG-02/01         Game CDs                20         Rs.   450.00

Question 03

Update the following transactions.

2nd April                Purchase the following books for credit from Free Book (pvt) Ltd.
Vendor Invoice #0025896

Description                         Units                     Cost
Accounting Books                10                       Rs.   500.00
Song Books                         15                        Rs.   750.00
Computer Books                  15                       Rs. 1,000.00
Magazines                            30                        Rs.   650.00

5th April                 Pays the following expenses from HSBC.

Cheque #                            Account Name                                  Amount
725099                                  Advertising                                     Rs.   22,000.00 + VAT
725099                                  Postage                                          Rs.     2,500.00
725099                                  Utilities                                           Rs.     1,250.00 + VAT
725101                                  Fuel Expenses                                 Rs.     5,500.00

On the same day sold the following items for credit to Asian Book Depot.
Invoice #00058973, Customer p/o #258741

Description                                         Units
Accounting Books                              10
Computer Books                                05
Game CDs                                         02

14th April              received payments deposits in HSBC

                                                            Invoices #            Amount                               Cheque #
Dilshan Books Services                      0058741                Rs. 50,000.00                      897456
Hello Limited                                      0064891                Rs. 60,000.00                      457866

21st April               following is the credit sales to S. Mafaz & Co.
                                Invoices #759812

Description                                         Units
Science Books                                   30
Magazines                                          18
Novels                                                05

25th April              Depreciate the following accounts

Description                                         Amount
Motor Vehicle                                   Rs.   5,000.00
Office Equipment                               Rs.   6,275.00
Building                                             Rs. 10,500.00

26th April              pays the following expenses from HSBC

Cheque #                            Account Name                                  Amount
725102`                                 Salary                                           Rs.   15,000.00
725103                                  Salary                                           Rs.   20,500.00

27th April              pays the following expenses from cash in hand

Index  #                                           Account Name                                  Amount
701200                                              Postage                                         Rs.         500.00
701201                                              Fuel                                               Rs.    10,500.00

29th April              after completing all the activities, create a backup in the shared folder with your name.

Thursday, March 15, 2012

How effect presentation theme for the Company Culture...?

The theme of the Company is great deal with attraction of the customer. They many companies are thinking all their promotional strategies with unique color. But few of them are taking out of decisions to implement marketing or production activities.
For a example, The dark background sometimes may highlight the front details. But If it's too much in dark color, the attention will be noisy on audience. Therefore the Main target of the presentation will require the worth of information and the information may be few couple of words or one image.

Finally I used blending option to configure the secondary layer in Photoshop and used some text effect with layer style as follows.
  
Here I Changed filters to take glass effect with new layer.




Saturday, March 3, 2012

Workshop Scheduled with Internatioanl Pedagogical Methology...

According to IPICT concept, the students needs the modern techniques to learn and sharp their knowledge. So the IPICT has solved their perspectives in latest pedagogical way. The learning and teaching mythology will begin in media environment and they will use of multimedia and old mythologies further. 
For example : 


Step 1:
The Lecturer will be giving some introduction about Operating system by asking few questions and The wall will be appeared some images of computer with User such as follows. (10 minutes)


But when we are entering to the deep of the lesson criteria, the lecturer should engage the students with new technological articles, comparisons and illustrative materials by use of internet.
For example:


Step 2: The Lecturer will display the you-tube running on computer based share market with length of 1.22 minutes. The links provided below. 


http://www.youtube.com/embed/EGjY37D4wrU


The lecturer also will explain how the process will engage with IT and perform the business operations. The students may note some important facts. (10 minutes)

On above aspects, The lecturer should provide the additional techniques to do the workshop outlines according to schedule interactively by giving following aspects.

  1. The task sheets
  2. necessary Video and audio materials
  3. group activities
  4. role play implementations.

On my future articles and some posted documents, will explain how...

Wednesday, February 29, 2012

New Front Cover to Srudent Progressive System...

Here is the original image of the Student progressive system. By using few changes, The texture color can take into another image entirely.



The problem is that, the user can change the color of image partially. to get the whole effects to the image, the gradient tool or require to apply any other filter to selected area of image.

But Here we used the texture graphics using blending option, the designer can mix the color deeply into image  or using brush mode, the designer can show the color effects inside the image with magic.

The front banner of the Students progressive system will display the following images. the images would be integrated like looking over broken window or glass in appearance. But simply I have used the blending option of the first image, so we can highlight the background image as screen shadow.

Sunday, February 26, 2012

Ideal Event for Private Forum

Here is a great idea to accomplish with other peoples in outside of the world. It is club. The club may begin with different kind of ideas and needs of them. But we can make sure that the students of the any institute can implement the various of the activities.

The logo of the any club is the main symbol of their identification by the other people who are observing you from anywhere. So I have simple effects to develop the logo for the IT club in my side to keep their identification from others.

I have used few photoshop tools for creating this logo and can be used according to company color to group with them. The version of the Photoshop is CS3 and used some gradient, selection, text and brush tools with blending options for the text.

Tuesday, February 7, 2012

Database class has been Modified in PHP

class Database
{
public $con;
//by default the system will identify them with var keyword.
var $db;
//these variables you can call any number of times with class objects.
var $die;

function set_db()
//the function will be started here.
{
//make connection to be available for script.
$this->con = mysql_connect("localhost","root","");
if (!$this->con)
  {
  die('Could not connect: ' . mysql_error());
  }
//introduce the db to script.
$this->db = mysql_select_db("idm1", $this->con);

}

function get_db()
//start function to pass results to script.
{
return $this->con;
return $this->db;
}

function close_con()
//provide the close feature to be used by script.
{
$this->die = mysql_close($this->con);
return $this->die();
}
//end of class.
}

Without no argument, The database class will be implemented here to provide the infrastructure for any no of php script.