Showing posts with label Diamond. Show all posts
Showing posts with label Diamond. Show all posts

Tuesday, 13 August 2013

Hollow Diamond 2

Hollow Diamond 2: In this post of shapes in c, you will find the code of second hollow diamond problem in C++ using "*". Code: /* 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:   The input should not be other than...

Hollow Diamond 1

Hollow Diamond 1: In this post of shapes in c, you will find the code of first hollow diamond problem in C++ using "*". Code: Copy the code from here. /*    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:  ...

Monday, 12 August 2013

Diamond Code

Diamond: In this post of shapes in c, you will find the code of diamond problem 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"; int length=0; cout << "Enter the size of the Diamond\n"; cin>>length; ...