Ok guys i am going to surprise u just type this thing on ur bj and see the magic System.out.println(Math.rint(3.5)); System.out.println(Math.rint(1.5)); System.out.println(Math.rint(21.5)); System.out.println(Math.rint(23.5)); the op should be 3.0 according to the theory this thing happens only for no having 1 and 3 |
|
asked by Rtstud (mdarfath) 6 years ago | |
4 | |
Write a Program to print the Pascalene triangle as follows : pascal triangle 1 1 1 1 2 1 1 3 3 1 |
|
asked by Tiara Elizabeth (thejtthomas) 6 years ago | |
3 |
rint returns integer value right Eg:Math.rint(23.67) Ans:24and not 24.0 |
|
asked by Kousalya Senthilkumar (laks2002) 6 years ago | |
6 |
Is stream in syllabus?? |
|
asked by Ananya Aakriti (ananya2309) 6 years ago | |
4 | |
default value of String, char, float ,double |
|
asked by Atharva45 (arya9591) 6 years ago | |
3 |
Write a program to check whether a number is automorphic number or not |
|
asked by Niraj Gupta (solution86) 6 years ago | |
2 |
Is print writter class there in the syllabus? |
|
asked by Ashutosh Dash (ashutosh_dash) 6 years ago | |
2 |
Re write using for loop int m=100; while(true) { System.out.println(m/2); m-=10; if(m%4==0)break; } |
|
asked by Siddhant Joshi (siddhant94) 6 years ago | |
4 |
Can someone please upload home science prelim papers please help home science girls also not only comp please |
|
asked by Mansi (mansi01) 6 years ago | |
0 |
Can someone please tell me the list of default values for all datatypes like false for Boolean, \u000 for char,etc. |
|
asked by Nehal G (nehalg) 6 years ago | |
1 |
Page 470 |
ICSE chat