Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.classpath
*.project
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Example Git Project

This project is an example project for the study of demonstrating how to use Git / GitHub.
This project is an example project for the study of demonstrating how to use Git / GitHub.

I hope you enjoy it
24 changes: 24 additions & 0 deletions Schoolweek2/src/com/conderscapus/week2/Agedasi.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package com.conderscapus.week2;

import java.util.Scanner;
public class Agedasi {

public static void main(String[] args) {

Scanner scanner = new Scanner(System.in);
System.out.println("Type in any name: ");
String name = scanner.nextLine();
System.out.println("you typed in: age");
String age = scanner.nextLine();

if (name.equals("mera") && age.equals("60")) {
System.out.println("let's go");
}else {
System.out.println("Hello: " + name);
}

scanner.close();

}

}
33 changes: 33 additions & 0 deletions Schoolweek2/src/com/conderscapus/week2/Week2Example.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package com.conderscapus.week2;

public class Week2Example {

public static void main(String[] args) {
int age = 18;

if(age > 20) {
System.out.println("you are an adualt");
}
if(age > 67) {
System.out.println("you are a senior");

}else if (age >= 15){
System.out.println("you are a teenager");
}else if (age == 12) {
System.out.println("yout are a per-teen");
}else {
System.out.println("you are a child");
}

String output = "your age is " + age;

System.out.println("your age is 18");

if(output.equals("your age is 18")) {
System.out.println("yay you can vote");
}else if (output == "your age is 21") {
System.out.println("yay you can dring / gamble");
}
}

}
10 changes: 10 additions & 0 deletions index.html.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<title>Example of my project</title>

</head>
<body>
<h1>Welcome to my project</h1?
</body>
</html>
Comment on lines +4 to +10

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice code you could add more staphs to you code

9 changes: 9 additions & 0 deletions schoolweek3/src/com/coderscampus/objects/Human.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package com.coderscampus.objects;

public class Human {

String gender;
String name;
String heigth;
String weight;
}
17 changes: 17 additions & 0 deletions schoolweek3/src/com/coderscampus/objects/RunnableClass.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package com.coderscampus.objects;

public class RunnableClass {

public static void main(String[] args) {
// class -> blueprint for a object
//object -> Noun, it's an instant of a class

// Date type. variable name, assignment operation
int someNumber = 39;

Human merhawi = new Human();


}

}