Skip to content

Commit 98c8bcc

Browse files
authored
Create RandomNumber.java
1 parent 0da1876 commit 98c8bcc

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

RandomNumber.java

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* To change this license header, choose License Headers in Project Properties.
3+
* To change this template file, choose Tools | Templates
4+
* and open the template in the editor.
5+
*/
6+
package com.mycompany.worksheet1;
7+
8+
/**
9+
*
10+
* @author Shanmuga Priya M
11+
*/
12+
public class randomno {
13+
14+
/**
15+
* @param args the command line arguments
16+
*/
17+
public static void main(String[] args) {
18+
int a= (int)((Math.random()*10));
19+
System.out.println(a);
20+
// TODO code application logic here
21+
}
22+
23+
}

0 commit comments

Comments
 (0)