Showing posts with label Homework. Show all posts
Showing posts with label Homework. Show all posts

Wednesday, October 9, 2013

Virtual Base Class ( Student, Marks, Behaviour, ECA & Result ) C++ Program

#include<conio.h>
#include<iostream.h>

class student
{
    public:
    int roll,id;
    char name[20],std[6];
    void getstudent()
    {
        cout<<"\n\tEnter Student Details \n";
        cout<<"\nEnter ID No :";cin>>id;
        cout<<"\nEnter STD : ";cin>>std;
        cout<<"\nEnter Name : ";cin>>name;
    }
};

Thursday, October 3, 2013

Multiple Hierarchical Inheritance C++ Program ( Gold, Cash, Properties )

#include<conio.h>
#include<iostream.h>

class MFMother
{
    double gold,properties;
    public:
    double togold,toopro;
    void mgetdata()
    {
        cout<<"\nEnter GMother's Details ";
        cout<<"\nEnter Gold in Kg :";cin>>gold;
        gold = gold*30200;

Friday, September 28, 2012

Homework Define: Array 5-Times

Array is fixed size sequenced collection of elements of same type.

Note:
-Array is use to handle large amount of data
-Is collection of elements of same data type.

Syntax: How to declared Array Variable
data_type variable_name [size];
int a [5];
- It can be used with all the data type.
* float a [5];
* char a [5];
* double a [5];

- Index of Array always start from 0

Thursday, September 13, 2012

HTML (LAB) Homework

<html>
<head>
<title>Angulat Tag</title>
<body vlink="green" alink="red">
</head>
<center>
<h1> Anglular tag</h1>
<font face="Comic Sans MS, cursive" size="+3"

Monday, August 20, 2012

Sunday, August 12, 2012

Accountancy's Assignment

Collection Date : 13/8/2012

Q.1   Different between Book-Keeping and Accountancy.
Q.2   Types of Account. and Rules of Credit & Debit.
Q.3   Make Journal, Ledger and Cash Book of Sum Number 8 Page Number 157
Q.4   Sum Number 5 Page Number 183