#include <iostream> using namespace std; class A { public: Β Β void show() { Β Β Β Β cout << “Diamond pattern: “; Β […]
Read moreTag: coding
Reversing the Array
Reversing the Array Reversing the Array Write a program to takeΒ input of integer array of size 5 and display the array […]
Read moreTernary Operator
Ternary Operator Ternary Operator Syntax: Condition ? Expression 1(True)Β :Β Expression 2(False) ; Program: To check wheather the given number is even or odd […]
Read moreInput a number less than 5 and print “Hello World” five times if the condition is true – Program by using for loop, do while loop and while loop
Input a number less than 5 and print “Hello World” five times if the condition is true – Program by using for loop, do while […]
Read moreWrite a c++ program to find sum of diagonal elements of a square matrix
Write a c++ program to find sum of diagonal elements of a square matrix Write a c++ program to find sum of diagonal elements of […]
Read moreHow to be a five star coder ( codechef , hackerrank , leetcode , hackerearth and etc )
How to be a five star coder ( codechef , hackerrank , leetcode , hackerearth and etc ) Well before knowing how to […]
Read more
Recent Comments