C++ Programs

Prime Number Program in C++

This program get the number and check is it primer number or not. The logic of this program is that it will take number and will divide the given number to all sub numbers up to 2 and less than given number. You need just a single loop to check primer number using this logic.  

Matrix Solved in C++

Here is the code that will solve the matrix. You need just 3 loops to solve the matrix. You can change rows and columns on your desire or requirement. Matrix Solved Program in C++