0
Please who can assist me in writing a program that prints a box, an oval,an arrow and a diamond with C++
/* This is the diamond shape program I can code separately but I can't join them together */  #include<iostream.h>  #include<math.h>  void main()  {  int size=3;  int i,j,k;  for(i=size;i>=-size;i--){  for(j=1;j<=abs(i);j++)  {  cout<<" ";  }    for(k=size;k>=abs(i);k--)  {  cout<<"* ";  }  cout<<endl;  }  }
2 Answers
+ 2
Everyone can assist you, if you make an attempt and will not reach the goal, just post it and describe your problem, or if you have no idea how to start, then simply write it here
+ 1
Looks like either you used a word processor to write this code or copy pasted it from somewhere,
as your code contains a lot of non-graphic characters in it which is generally used by a word processor to format the text.