0
Write program to find the sqrt of number between (50 _ 100) ? C++
#include <iostream> using namespace std; void main() { int a ; cout<<"inter"; cin>>a; for (a=50; a<=100; a++) cout<<"the="<<square (a); cout<< endl ; } return 0; }
1 Antwort
+ 1
#include <iostream>
#include <math.h>
using namespace std;
int main()
{
  int a ;
  for (a=50; a<=100; a++){
      cout<<"the="<<sqrt(a);
      cout<< endl ;
  }
    return 0;
}



