c++ programs with output

Post on 19-Oct-2015

43 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

includes programs of c++ with their outputs,compiled through borland c++

TRANSCRIPT

C++ LAB WORKS

/* 1. Wap to convert Fahrenheit into centigrade using conversion function*/

#include#includeclass centigrade { private: int cen; public: centigrade() { cen=0; } centigrade(int cent) { cen=cent; } void display(); }; void centigrade::display() { cout

top related