Write an application that displays every integer value from 1-20along with its s
ID: 3608910 • Letter: W
Question
Write an application that displays every integer value from 1-20along with its squared value.I know this is an easy exercise but for some reason I cannot get itto work.
Please help.
I would post what I had but due to some strange error involvingcodeanalysis sal.h I need to repair my visual studios
but this is what I had for my previous exercise
#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
int n;
for(n=1; n<=20; n++)
cout<<n+<<endl;
getch();
}
i got 1-20 to display but now I need to get their squares to do thesame
i will rate well if you can help me
Explanation / Answer
//hope this will help you.. #include #include using namespace std; int main() { int n; for(n=1; nRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.