Computer Science, asked by srishtichandra2009, 1 year ago

Solve by c++....plsss fast it's urgent

Attachments:

Answers

Answered by anuritha
1
#include<iostream.h>
#include <conio.h>
void main( )
{
int i,j;
clrscr ();

for (i=5;i>=1;i--)
{
for (j=5;j>=i;j--)
{
cout<<j<<'*';
}
cout<<' ';
}
getch( );
}

for the second case instead of the stars symbol if you write capital A you will get the answer...

hope this program helps

anuritha: please check in the answer dear .. according to our curriculum this is the correct answer
Similar questions