write a c program using for loop and print following pattern without using scanf function
1
22
333
4444
55555
Answers
Answered by
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:
- include <stdio.h>
- int main (void)
- {
- printf("(1, 22, 333, 4444)\n");
- return 0;
- }
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