www.vustudents.ning.com

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

# CS201 assignment #03 Due Date 29/12/2011

Views: 2267

Attachments:

### Replies to This Discussion

:D is baar m thinking not to make the assignment :D

i can't promise but Insha'Allah i will let u guys know jb mein kuch kr lon gi to .... gonna start working on this assignment ... time thora reh gaya hai .... to may be assignment pori na ho pae ... but still something is better than nothing

# CS201 assignment #03 Solution Fall 2011

Attachments:

CS201 Assignment 3 Solution Fall 2011

www.vustudents.ning.com

#include<iostream.h>

#define PI 3.14

class Circle

{

public:

Circle();

Circle(double);

double calculateArea(double);

double calculateCircum(double);

void display();

};

Circle::Circle()

{

}

Circle::Circle(double r)

{

}

double Circle::calculateArea(double r)

{

return (PI*r*r);

}

double Circle::calculateCircum(double r)

{

return (2*PI*r);

}

void Circle::display()

{

cout "Area of the Circle is  " calculateArea(Circle::radius) endl;

cout "Circumference of the Circle is  " calculateCircum(Circle::radius) endl endl;

}

main()

{

Circle circle1;

Circle circle2(3.5);

circle1.display();

circle2.display();

system("pause");

}

www.vustudents.ning.com

Sir ... ye koi or solution hai :S ye wali assignment nai hai hmari :S

AoA tariq bhai

or some guideline

plz bro hlp us kal last date h r aj kal light ka b down falll h plz aj solution bta dny tak jb b light o hm kal tk kr lny

someone plzzzzzzzz help ........ tomorrow is the

last date

1

2

3

4

5

## Latest Activity

6 hours ago
13 hours ago
arham khan and Technical Guru joined Virtual University of Pakistan
13 hours ago
Muhammad Bilal liked иαвєєℓ αнмє∂'s discussion Kya hal hain ning awam?
yesterday
Technical Guru liked Sana Sunny ツ's discussion we need Chat box at ning
yesterday
Technical Guru updated their profile
yesterday
Saturday
monaliza and waseem are now friends
Saturday