cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
How to print prime number in pyramid? Ne
How to print prime number in pyramid? Need help
Oct 2, 2015 at 5:50pm UTC
itsukayanagi
(3)
hello,im new to C++, and i got some task to do
please help me to create a program to :
input:
n=5
output=
___2
__3 5 7
11
n=10
_____2
___3 5 7
11 13 19 23 29
(replace _ with blank/space)
if possible using
#include<stdio.h>
and loop.
Topic archived. No new replies allowed.