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
11 changes: 10 additions & 1 deletion demo.java
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
demo2 file
class FactorialExample{
public static void main(String args[]){
int i,fact=1;
int number=5;//It is the number to calculate factorial
for(i=1;i<=number;i++){
fact=fact*i;
}
System.out.println("Factorial of "+number+" is: "+fact);
}
}
2 changes: 1 addition & 1 deletion hello.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
public class hello {

public static void main(String[] args) {
int a=99999900;
int a=199999900;
System.out.println("This was a file for test repo");
//This line was added by ambika!
}
Expand Down
1 change: 1 addition & 0 deletions sample/hello world.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
hello world