0
please give me code for the following pattern in c c++ c# java any of this language. see the question below
2 3 5 7 11 13 17 19 23 31 37 41 43 47 53 please give me code for this pattern
3 Antworten
+ 4
i hope you have tried writing the code and failed to get the desired output, if so please add the code else we can't do your assignment for you
+ 4
vivian If you are struggling with the code, try listing out everything you can identify about the pattern.
This one is quite straight forward and would be great practice for you.
After you've provided your description of the pattern, perhaps others here can help you refine that until it's at a point where the code can be obvious.
+ 4
Some hints:
The numbers are the first 15 prime numbers.
It is a 5 * 5 square.
First line: 5 numbers
Second line: 1 space + 4 numbers
Third line: 2 spaces + 3 numbers
Fourth line: 3 spaces + 2 numbers
Last line: 4 spaces + 1 number