Answer the question
In order to leave comments, you need to log in
How to draw such a picture on c?
"Drawing" with symbols. Display the numbers in the following
form:
1
3
22
44
333
555
4444
6666
Answer the question
In order to leave comments, you need to log in
Display function - printf()
. One character or string that you need to output must be passed there as one parameter in quotes, for example printf("1");
.
To make a line feed, you need to print the character "\n"
. You can add it to the end of the line, for exampleprintf("44\n");
#include <stdio.h>
int main()
{
puts("1\n22\n333\n4444\n55555");
return 0;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question