answersLogoWhite

0


Best Answer

10 CLS

20 FOR N = 1 TO 10

30 PRINT N, N^2, N^3

40 NEXT N

50 PRINT: PRINT "Oooweee! That was such fun!"

60 END

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you write a basic program to calculate the square and cube of members 1 to 10?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the basic insurance premium for members of FEGLI the Federal Employees' Group Life insurance Program?

The basic insurance premium for the members of FEGLI, the Federal Employees' Group Life Insurance Program is 3%, which can be higher or lower depending on your health.


How do you calculate sum of digit of a given three digit number in visual basic?

simple program


How do you write a program to find out the square and cube of first ten natural numbers in gw basic?

First you will need to have some basic programming knowledge. You can use this to help make the program that is needed.


What has the author John Smiley written?

John Smiley has written: 'Learn to Program Databases With Visual Basic (Learn to Program)' 'Learn to Program Visual Basic Objects (Learn to Program)' 'Learn to Program with Visual Basic 6' -- subject(s): BASIC (Computer program language), Microsoft Visual BASIC, Visual Basic (Computer program), Visual programming (Computer science), Windows (Computer programs) 'Learn to Program Visual Basic 6 Examples' 'Introduction to Programming with Visual Basic 6 Part 2' 'Learn to Program Visual Basic Examples (Miscellaneous)' -- subject(s): Microsoft Visual Basic for Windows, BASIC (Computer program language)


Write C program using functions to simulate a Calculator with the basic functions - square root and reciprocal?

trytytytytytytytytrf 6 bcvvtgujhy6


The distance between two cities in km is input through the keyboard write a program to convert and print this distance in meters feet inches and centimeters?

mesh's basic salary is input through the keyboard. his dearness allowance is 40% of basic salarying , and house rent allowance is 20% of basic salaried. write a program to calculate his gross salary


What The Square Deal is?

The Square Deal was President Theodore Roosevelt's domestic program. He explained in 1910: ... Roosevelt reflected three basic goals: conservation of natural resources, control of corporations, and consumer protection.


What is formula to calculate?

That's the basic purpose of all formulae - to calculate.


The square deal was a plan for fair government for which President?

The Square Deal was President Theodore Roosevelt's domestic program formed upon three basic ideas: conservation of natural resources, control of corporations, and consumer protection.


The square deal was the plan for fair government for which president?

The Square Deal was President Theodore Roosevelt's domestic program formed upon three basic ideas: conservation of natural resources, control of corporations, and consumer protection.


How do you create a program in visual basic?

arrays programms in visual basic


What is the purpose of function in c language?

It's the same as the purpose of a function, procedure, method, ... in other programming languages. The basic idea is that you have a certain calculation or processing that has to be repeated over and over again (perhaps with slight variations), so it is programmed in a single place, where it can be invoked from different parts of the program. For example, if you need to calculate a square root, you program this in a single place (a function); you don't repeat all the complicated calculations everywhere you need to calculate a square root. In this example, since it is a fairly common requirement, it is already programmed in most programming languages; but you can also create your own functions for more customized calculations or processing.