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
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
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.