Please I need help to resolve this question in c++
write a program that calculates the squares and cubes the integers 0 to 10 . use tabs print the following neatly formatted table of values?
After that should come out black screen such as table
First row of integers and the second row is cube and Third row is for squares
What problems specifically are you having with this? What do you have so far?
I don't document code. If it was hard to write, it should be hard to read
Edit: What he said ^
Root Beer == System Administrator's Beer
Download the new operating system programming kit! (some assembly required)
I need to know how i can write this program in c++ Language
write a program that calculates the squares and cubes the integers 0 to 10 . use tabs print the following neatly formatted table of values?
No one is going to do this for you. Please attempt at it at least. If you have any questions, we will help you.
Root Beer == System Administrator's Beer
Download the new operating system programming kit! (some assembly required)
No You Do not Understand I'm a Beginner and I tried hard to solve the Problem But I failed and I have to give the answer tomorrow
Please help me
and I promise you
Iwill do it by myself next time
okay fine I need you to help my to find the way to put the row
You said you tried and failed. Could you post the program that you wrote?
I don't document code. If it was hard to write, it should be hard to read
# include <iostream.h>
void main()
{
cout<<"integer\n"<<"1\n"<<2\n"<< "3\n"<<"4\n"<<"5\n"<<"6\n"<<"7\n"<<"8\n"<<"9\n"<<" 10\n";
cout<<"cube\n"<<"1\n"<<4\n"<< "9\n"<<"16\n"<<"25\n"<<"36\n"<<"49\n"<<"64\n"<<"81 \n"<<"100\n";
cout<<"squer\n"<<"1\n"<<8\n"<< "27\n"<<"64\n"<<"125\n"<<"216\n"<<"343\n"<<"512\n" <<"729\n"<<"10\n";
}
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks