Showing posts with label Rectangle. Show all posts
Showing posts with label Rectangle. Show all posts

Tuesday, 13 August 2013

Hollow rectangle

Hollow Rectangle: In this post of shapes in c, you will find the code to draw hollow rectangle in C++ using "*". Code: Copy your code from below. /*         Join us at   http://shapesinc.blogspot.com     for more codes of shapes */ #include<iostream> using namespace std; int main() { cout << "Join http://shapesinc.blogspot.com for more codes of shapes\n\n";  cout<<"CAUTION:  ...

Rectangle

Rectangle In this post of shapes in c, you will find the code to draw rectangle in C++ using "*". CODE: /* Join http://shapesinc.blogspot.com for more codes of shapes */#include<iostream>using namespace std;int main(){cout << "Join http://shapesinc.blogspot.comfor more codes of shapes\n\n"; cout<<"CAUTION:   The input should not be other than numerical values \n\n\a";int length=0, width=0;cout <<...