Learn Programming
Learn Programming
(Move to ...)
Home
▼
Monday, November 18, 2019
C++ BLACKJACK
›
#include <iostream> #include <ctime> #include <stdlib.h> #include <time.h> #include <string> using namesp...
Thursday, October 24, 2019
C++ Write a code that will print only prime factors.
›
Code #include <iostream> using namespace std; void prime_factor(int n); int main() { int n; cout<<"Enter a numbe...
1 comment:
Monday, September 30, 2019
C++ code Diamond shape of space
›
Code #include <iostream> using namespace std; int main() { int i,j,r; cout << " Input number of rows : "; ...
Monday, September 23, 2019
C ++ write nested for loops to produce a triangular array of stars, in the form below.
›
C ++ write nested for loops to produce a triangular array of stars, in the form below. ** **** ***** **** ** Code #i...
Write C++ statement that compute the sum of squres of given positive integer
›
Code #include <iostream> using namespace std; int squaresum(int n) ; int main() { int n; cout<<"Enter a positive integ...
1 comment:
C++ code that will print only prime factor of given number
›
Code #include <iostream> #include <cmath> using namespace std; int main() { int n, i; cout<<"Please input an in...
Monday, September 16, 2019
Write a program to print half pyramid / triangle using alphabets
›
Code #include <iostream> using namespace std; int main() { int i, j; char input, alphabet = 'A'; cout << ...
1 comment:
›
Home
View web version