Posts

Showing posts from November, 2023

Program to check if a Number is a Perfect Square or not.

Image
Don't have a laptop to start learning C++ Computer programming language ? Do not worry yourself about that because you can actually start learning C++ Computer programming language with your android phone.  The code below is useful for checking if a number is a perfect square number or not. And I wrote and ran it with my android phone.  Are you ready to start learning C++ Computer programming language with your android phone ? If your answer is yes, then, go to Play Store now and download the Cxxdroid app to start writing C++ codes with your android phone.  Happy learning  #include<iostream> using namespace std; int main () {     double a ;     double b = 0;     cout << " Enter Your Number " << endl;     cin >> a;  while ((b * b) <= a ){ // To check if the loop is not higher than the input      if((b * b) == a){ // To check if the input is a perfect square number.    ...