I Right Code

I Right Code
I Write Code
I Write Better PHP Code

The greatest asset to any programmer is their ability to improve on the efficiency and simplicity of the code they write.

Links:
a) PHP Documentation
b) My PHP Code on GitHub

Code is an artistic expression and extension of one’s true self. There is nothing more satisfying then writing efficient and simplistic code that you know other programmers will view as good code. Practically anybody on God’s ...

Read more →
0

Java Math.PI Circle Radius

Mountain State University Java Assisgnment

2.28 (Diameter, Circumference, and Area of a Circle

Write an application that inputs from the user the radius of a circle as an integer and prints the circle’s diameter, circumference, and area using the floating-point 3.14159 for PI.

Java circlePi.java Source Code

import java.util.Scanner;

public class circlePi {

public static void main( String[] args )
{
Scanner input = new Scanner( System.in );

int cRadius; //radius of circle

System.out.print( "Enter the radius of a circle " ); // prompt for user input
Read more →

0