im trying to write a program to make the # someone puts in the prompt multiply this # by 7 how do i make this code ? i have result=Math.pow(number,7); but it does not give me the right answer...

m

Then write #*7; not "# to the power of 7". This is basic math. Consider learning that before Java :)

it does not give me the right answer...

Please Show the input and output and explain

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.