Please help to solve in java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
10th Apr 2021, 7:56 AM
Abdul Ahad
Abdul Ahad - avatar
7 Answers
+ 1
Ciro Pellegrino why we use Integer.toString(i) in this code ?
29th Jan 2022, 5:07 AM
its_me_fayu .k
its_me_fayu .k - avatar
0
I have not understand your question. Reading lpang you can use System.out.println("" + a + b + c); or String s = "" + a + b + c; All numerics variable are automatically converted in string
10th Apr 2021, 10:28 AM
Ciro Pellegrino
Ciro Pellegrino - avatar
10th Apr 2021, 10:48 AM
Ciro Pellegrino
Ciro Pellegrino - avatar
0
public class Program{ public static void main(String[] args){ int num=273; for(int i=1;i<=9;i++){ System.out.println(num+"*"+i+"="+num*i); } }}
10th Apr 2021, 10:50 AM
SAN
SAN - avatar
0
its_me_fayu .k try to change the code and ready the compiler error 😉
30th Jan 2022, 3:11 PM
Ciro Pellegrino
Ciro Pellegrino - avatar
0
write a menu driven program to Calculate the following volume of sphere, volume if cylinder and volume of cone
2nd Feb 2022, 3:27 PM
Techno Team
0
Help here too
2nd Feb 2022, 3:27 PM
Techno Team