Ask your own question, for FREE!
Computer Science 9 Online
OpenStudy (anonymous):

Write a c program for the following Patern using for loop: JJJJ JJJJJ JJJJJJ J JJ JJJ

OpenStudy (anonymous):

#include <stdio.h> int main() { int i, j, n; for(i = 0; i < 6; i++) { n = (i + 3) % 6 + 1; for(j = 0; j < n; j++) printf("J"); printf("\n"); } }

OpenStudy (anonymous):

A single for loop or can it be nested like my solution?

OpenStudy (anonymous):

A single for loop

OpenStudy (anonymous):

your solution it was true , Thanks a lot ..

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
9 hours ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
12 hours ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Arizona: does anyone know the percentage rate of 30,000 and 40,000
1 week ago 0 Replies 0 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!