Skip to content

Commit 2de669c

Browse files
authored
Update index.md
1 parent b1a6bfb commit 2de669c

1 file changed

Lines changed: 29 additions & 30 deletions

File tree

index.md

Lines changed: 29 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
**EasyIO** is a JAVA package - whitch intended to provide ease for programmers to get input and to display them, specially for beginners yet useful for professionals.
1+
**EasyIO** is a JAVA package - which intended to provide ease for programmers to get input and to display them, specially for beginners yet useful for professionals.
22

33
# DOCUMENTATION
44

55
## HOW TO GET IT?
66

7-
Download this repository, unzip it and add into your project directory.
7+
1. Download the repository, better to be in .ZIP format.
8+
2. Unzip it and add into your own project directory.
9+
3. Import it. That's it.
810

9-
``` html
10-
https://github.com/shaikhmudassir/EasyIO-package/archive/refs/heads/main.zip
11-
```
1211

1312
## HOW TO USE PACKAGE?
1413

15-
Import following statement, it is must to add **static** keyword.
14+
Use following format to import in JAVA.
1615

1716
```java
17+
// must use "static" keyword
1818
import static EasyIO.EasyIO.*;
1919
```
2020

@@ -28,46 +28,45 @@ import static EasyIO.EasyIO.*;
2828
```java
2929
print("One line ",true);
3030
print("Second line");
31+
// Output: One line Second
32+
```
33+
5. Can use C Style printing values as described below.
34+
6. Refer *Sample.java*. Soon you'll get familiar with it.
35+
7. Can use in following ways:
36+
```java
37+
// Printing Numbers With And Without Formatting
38+
print("number is 32");
39+
print("number is %d",number);
40+
print('p',"number is %d (this line is in purple color)",number);
41+
// Do experiment by yourself ...
3142
```
3243

33-
Output:
34-
> One line Second
35-
36-
## HOW TO INSERT?
44+
## HOW TO INSERT/GET DATA FROM USER?
3745

3846
1. All of these methods used to accept input from front end user.
3947
2. User can give description.It is the guidelines for the user.
4048
3. If user wants Description and input in a single line then he can Enable(true)the Single line method.
4149

4250
```java
4351
String str = insert() ;
44-
4552
String age = insertInt("Enter your age");
4653
```
47-
48-
## HOW TO CAST THE TYPE?
49-
50-
1. All Type casting Methods has first Letter Capital.
51-
2. Type casting is done with String,Integer,Double,Long,Float data types.
52-
53-
```java
54-
int age = Int(args[1]);
55-
```
56-
57-
## C STYLE GETTING AND PRINTING
58-
59-
1. Refer *Sample.java* here and soon you'll get familiar with it.
60-
2. Can use in following ways:
61-
54+
4. Can use C Style printing values as described below.
55+
5. Refer *Sample.java*. Soon you'll get familiar with it.
56+
6. Can use in following ways:
6257
```java
6358
// Getting Numbers With And Without Formatting
6459
int number = get_int("Enter the number");
6560
int number = get_int('r',"Enter the number (this line is in red color)");
6661
int number = get_int('y',"Enter the number %d times (this line is in yellow color)",2);
67-
// Printing Numbers With And Without Formatting
68-
print("number is 32");
69-
print("number is %d",number);
70-
print('p',"number is %d (this line is in purple color)",number);
7162
// Do experiment by yourself ...
7263
```
7364

65+
## HOW TO CAST THE TYPE?
66+
67+
1. All Type casting Methods has first Letter Capital.
68+
2. Type casting is done with String, Integer, Double, Long, Float data types.
69+
70+
```java
71+
int age = Int(args[1]);
72+
```

0 commit comments

Comments
 (0)