#include<iostream.h>
#include<conio.h>
class binary_calculation
{
protected :
float x;
float y;
Wednesday, 20 July 2011
A Program For Binary Calculation in C++
at 05:21 0 comments
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 :
#include<conio.h>
#include<iomanip.h>
#include<math.h>
struct anynumber
{
int n;
int prime;
public :
at 00:59 0 comments
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 :
#include<conio.h>
#include<iomanip.h>
struct point
{
float x;
float y;
public :
at 00:57 0 comments
Subscribe to:
Posts (Atom)