Wednesday, 20 July 2011

A Program For Binary Calculation in C++

#include<iostream.h>
#include<conio.h>
class binary_calculation
{
  protected :
    float x;
    float y;

Thursday, 23 June 2011

A progarm to read an integer number and test if it is prime it uses a constructor with arguments

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

struct anynumber
{
  int n;
  int prime;
  public :

A program to assign values of 10 and 12 to X and Y coordinates of a point

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

struct point
{
  float x;
  float y;
 public :

 

blogger templates 3 columns | Make Money Online