Computer Science, asked by dhwaj8412, 10 months ago

write a c program using for loop and print following pattern without using scanf function
1
22
333
4444
55555​

Answers

Answered by sumitbabal007
0

Answer:

Re “What is the C program for printing (1, 22, 333, 4444)?”: The use of the word “the” in this context has no meaning, as there are always many ways to write a computer program to do any one thing.

One way to make a computer print “(1, 22, 333, 4444)” would be as follows:

  1. include <stdio.h>
  2. int main (void)
  3. {
  4. printf("(1, 22, 333, 4444)\n");
  5. return 0;
  6. }

Something tells me that’s not actually what the question author had in-mind (it’s almost certainly a homework-cheat-request question), but since the author failed to provide more details, I won’t try to guess the original intent, and instead, I just answered the question as-written.

I hope it helps you

please like and follow me

please mark as brilliant answer

Similar questions