Ask
your own question, for FREE!
Computer Science
16 Online
Coding
Still Need Help?
Join the QuestionCove community and study together with friends!
Repeatition/ looping QUESTION 1 Write a complete C program using nested loop to display the following output. 1 1 1 1 1 2 2 2 2 3 3 3 4 4 5
@Ultrilliam need help xD
how do you code
Managed to solve question 2 Write a complete C program using nested loop to display the following output. 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5
#include <stdio.h> int main () { int i,j; for(i=1; i<=5;i++) { for(j=1;j<=i;j++) { printf("%d",i); } printf("\n"); } return 0; }
Still Need Help?
Join the QuestionCove community and study together with friends!
sorry i tried to but i dont now
i cleaned up formatting in the second to make it consistent
Ooooh I c,thanks inky ^^
Whoop, missed it, lol
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!
Join our real-time social learning platform and learn together with your friends!
Latest Questions
KBaby:
Verse 1 We left our names in the dust of the driveway Watched the old town shrink
KBaby:
Lyrics Generator Use AI to write the lyrics for a song. Suggested Genres: Pop Hip
aitexturegenerator:
How are you all handling AI-generated textures for 3D models and game assets without losing the hand-made feel? I've been doing a small stylized environment
Demon25:
Woke up feeling like that girl and that dude well he still aint crap pluse the du
playtsec:
how do I get rid of stress from teachers... I just feel like running out the classroom and leaving on my own.
JohnnyLFowler0812:
What type of gamer would play something and then get off for a while. Why not sta
JohnnyLFowler0812:
Which is better? Metallica Rap Country R&B hiphop Medal Gospel Chill Which 3 opti
26 minutes ago
3 Replies
0 Medals
45 minutes ago
1 Reply
0 Medals
2 days ago
4 Replies
2 Medals
4 days ago
4 Replies
0 Medals
5 days ago
21 Replies
2 Medals
6 days ago
9 Replies
1 Medal
6 days ago
0 Replies
0 Medals