No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
hi how can i deleting all linked list elements using ADT please i need the ideas ?? |
|
pleas help [CODE]public double getInvoiceAmuont(int q,double pric){ System.out.println("ente the quantity and the peice" ); q=in.nextInt(); pric=in.nextDouble(); if (q<0) return 0; if (pric<0) return 0; return q*pric; }[/CODE] is this answer correct for this question : {{ -Provide a method named getInvoiceAmuont that calculates the invoice amount (i.e., multiplies the quantity … |
|
I need to converted from seconds to hours, minutes and seconds. (without using if) and this is my code [CODE]import java.util.Scanner; public class SecondToHoursAndMin { public static void main (String[]ages) { Scanner in = new Scanner (System.in); int second; System.out.println("Enter the second: "); second = in.nextInt(); int hours,minutes,second1; hours=(second/3600); minutes=(second%60); … |
|
HI could any one help me to know the main idea to type program which converted from seconds to hours, minutes and seconds. thnks،، |
|
Hi , I'm a new learner of Java I start study Java since 2 weeks one of my friends challenge me to type program that show the number which I enter , It's even or odd . could you help me about the main things ,,, |