create a rectangle and find its area=w*h.create another rectangle with width and height as twice as the first rectangle and find its area using friend function in c++
Harshini Divya 0 Newbie Poster
Suzie999 245 Coding Hobbyist
L7Sqr 227 Practically a Master Poster
np complete 8 Newbie Poster
Lucaci Andrew 140 Za s|n
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.