Write a program for BASIC 256 to find the cubes of numbers less than 100.Also show output
Answers
Answered by
0
Hey, thanks for the question, as I had never heard of Basic-256 before. So, I just downloaded it and what I wrote for square root of a number is my second program. In other words, this program works, but I am a novice and specifically disclaim any expertise in this particular variant of BASIC.
Print "Give me a positive number"
Input x
Dim a(100)
a[0]=x
for n=1 to 10
a[n]=.5*(a[n-1]+x/a[n-1])
print n; " "; a[n]
next n
✪ Be Brainly ✪
Hope this helps you thanku (◕ᴗ◕✿) (≧▽≦)
please mark me as the brainliest
Similar questions
English,
4 hours ago
Business Studies,
4 hours ago
History,
7 hours ago
Science,
8 months ago
History,
8 months ago