Answer to Question #26311 in C++ for Hosein

Question #26311
I want to write a program
Around the square are the same numbers that come together
1
Expert's answer
2013-03-13T04:04:53-0400
# include <iostream>

using namespace std;

int main(){
cout<<"Enter number:";
double num;
cin>>num;
cout<<static_cast<int>(num*num)<<endl;
//couts int value - Arounds the square

system("PAUSE");
return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS