Computer Science, asked by bibihamida98, 7 hours ago

Write a program for BASIC 256 to find the cubes of numbers less than 100.Also show output​

Answers

Answered by kurienloy
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