- 0
Notifications Mark All Read
- Login
- Get Prime
Cognizant Coding Question- 30
Access Denied!
To view this page you have to login first
Login here -
Trivia
Did you know 1 million people use PrepInsta everyday?
Notifications Mark All Read
To view this page you have to login first
Login here -
Did you know 1 million people use PrepInsta everyday?
//self developed logic
#include
int main()
{
int no,i,j,num=3;
no=4;
for(i=0;i<no;i++)
{
for(j=0;j0;j–)
{
printf(“*”);
}
printf(“\n”);
}
}
//correct code goes her mistake in above ones
#include
int main()
{
int no,i,j,num=3;
no=4;
for(i=0;i<no;i++)
{
for(j=0;j0;j–)
{
printf(“*”);
}
printf(“\n”);
}
}