0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
~282 People Reached
- Interests
- Java, Android, Python, music apps
Favorite Forums
Re:
print "enter a number: "; $in = <>; chomp $in; print &prime($in); print "\n"; sub prime{ for($i=2;$i<($_[0]/2+1);$i++){ if($_[0]%$i ==0){return "not prime\n"} } return "prime\n"; } can anyonet tell me, what program do i use to make this code work?.. i just found it on the internet while searching a formula … |
|
Re:
I'm having to design a program in java to get the radius from the user than print back the diameter, circumference and area using that radius I'm not sure where I'm going wrong in this [CODE] import java.util.Scanner; public class Circle { private static void circleInfo() { float radius; public … |