Computer Science, asked by simsup196, 11 months ago

In a certain code if 1000' is written as 1728' and 125 is written as 343'. In the same code 512' is written as:

Answers

Answered by Anonymous
3

Answer:

C Code:

#include<stdio.h>

int main()

{

int x;

/* Print column names */

printf("Number\tSquare\tCube\n");

printf("=========================\n");

for(x=0; x<=20; x++)

printf("%d\t%d\t%d\n", x, x*x, x*x*x);

return 0;

Answered by Syamkumarr
2

Answer:

512 is written as 1000

Explanation:

Given 1000 can be written as 1728

1000 = 10³

1728 = 12³

and 125 can be written as 343

125 = 5³

343 = 7³

So, from above, it is clear that the second number is the cube of the number that is 2 greater than the first one.

Let the first number be n³

Then the second number = (n + 2)³

Therefore, 512 = 8³ can be written as (8 + 2)³ = 10³ = 1000

Similar questions