Can anyone solve this question in java (nested loop)
this is the pattern:
1
00
222
0000
33333
only in java
thank u
Answers
Answered by
1
public class JavaExample{
public static void main(String args[]){
//double value
double dnum = 99.99;
//convert double to int using typecasting
int inum=(int)dnum;
//displaying int value after conversion
System.out.println(inum);
}
}
Similar questions
Math,
2 months ago
Math,
2 months ago
Math,
5 months ago
Social Sciences,
5 months ago
Environmental Sciences,
10 months ago
English,
10 months ago