We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Java
- Introduction
- Welcome to Java!
- Discussions
Welcome to Java!
Welcome to Java!
Sort by
recency
|
585 Discussions
|
Please Login in order to post a comment
Here is Welcome to Java problem solution - https://programmingoneonone.com/hackerrank-welcome-to-java-problem-solution.html
Using Java for a coffee menu website is good only if you need advanced backend features like orders or payments. For simple menus or design, HTML, CSS, and JavaScript are easier and faster. WordPress is also a great option. Use Java only if backend logic is truly required.
For Java15
Wrong Answer :(
1/1 test case failed
Sample Test case 0
package pack1; public class temp {
float c,f; public void getval(float a) { c=a; System.out.println("Temp in celsius"+c+"degree"); } public void ctof() { f=(float)(c*1.8f)+32; System.out.println("Temp in farenhiet"+f); } } /Program to calculate simple interest/ Create a package with name pack2( steps: right click on your application->New->Java packages->type [pack1]in package name field->finish. package pack2; public class simple { float p,t,r,si; public void getdata(float a,float b,float c) { p=a; t=b; r=c; } public void cal() { si=p*t*(r/100); System.out.println("Simple interest is=" +si); } }