These are four very simple C++ programs which demonstrate how to use nested loops. Problem is that we have to print some simple patterns of integers. So, let’s do it.
It is a revised version of one of my programs named C++ program check whether a number is prime or not. It has been improved according to the suggestions of one of my readers.
A c++ program to check whether a number taken as input from the user is a complete square or not. It makes use of three variables, a while loop and an if statement.
A c++ program to check whether a number entered by the user is prime or not. This program uses three variables, a while loop and a few if selection statements. Check it out and please give your comments and suggestions.
I am just beginning in the world of computer programming with python as my first language. Yesterday, I wrote a very simple program which, when executed, ask us for a number whose table we want to print, then a number from where we want to start the table and finally a number up to which […]