0

Can i get code for ↓in C

* *A* *A*A* *A*A*A* *A*A*A*A* https://code.sololearn.com/c9PUuPRJEpqG/?ref=app

14th Sep 2018, 4:19 AM
Vaibhav
Vaibhav - avatar
2 odpowiedzi
+ 3
#include <stdio.h> int main() { int i,j; for(i=1;i<=5;i++) { for(j=1;j<=i;j++) { (j == 1)? printf("*"):printf("A*"); } printf("\n"); } return 0; }
14th Sep 2018, 10:29 AM
blACk sh4d0w
blACk sh4d0w - avatar
+ 1
Vaibhav please don't expect people to code for you entirely..Show your efforts and ask if you are stuck anywhere... people will help you to understand the issue...
14th Sep 2018, 4:28 AM
Ketan Lalcheta
Ketan Lalcheta - avatar