The ultimate guide to writing Trash Code
View the Project on GitHub hello-world-404/guide-to-trash-code
The start of writing trash code
In this unit, you will learn the basics of writing trash code.
See Unit 0 - What you need to do before writing trash code
After you have done the things done above, you are ready to write Trash Code!
Remember, the first thing writing trash code is to be complicated.
Let’s say that you are writing a program that receives the input as the radius and outputs the perimeter and area.
**ALL CODE SEGMENTS ARE WRITTEN IN JAVA, USE YOUR CLEVER BRAIN TO CHANGE IT TO THE LANGUAGE YOU WRITE, THAT MAKES IT EVEN TRASH. **
public class area{
public static void main(String[] args){
}
}
public class area{
public static void main(String[] args){
Double i = 888.0;
Double e = 666.0;
Double radius = 2 * 3.14 *
}
}
public class Area{
public static void main(String[] args){
Double i = 888.0;
Double e = 666.0;
Double radius = 2 * 3.14 * i;
Double perimeter = 3.14 * i * i;
}
}
public class Area{
public static void main(String[] args){
Double i = 888.0;
Double e = 666.0;
Double radius = 2 * 3.14 * i;
Double perimeter = 3.14 * i * i;
System.out.println(i);
System.out.println(e);
System.out.println(i);
System.out.println(perimeter);
}
}