Member Avatar
Hello i have list of football teams on every line is a new team but there are countries in brackets i want to remove all of them, here is a example of the list: Águila (El Salvador) Águilas (Costa Rica) Águilas Doradas (Colombia) Árabe Unido (Panama) Åtvidaberg (Sweden) Ñublense (Chile) … Article by Stefan_1 in Computer Science
Member Avatar
Hello i have list of football teams on every line is a new team but there are countries in brackets i want to remove all of them, here is a example of the list: Águila (El Salvador) Águilas (Costa Rica) Águilas Doradas (Colombia) Árabe Unido (Panama) Åtvidaberg (Sweden) Ñublense (Chile) … Article by Stefan_1 in Computer Science
Member Avatar
Hello i have list of football teams on every line is a new team but there are countries in brackets i want to remove all of them, here is a example of the list: Águila (El Salvador) Águilas (Costa Rica) Águilas Doradas (Colombia) Árabe Unido (Panama) Åtvidaberg (Sweden) Ñublense (Chile) … Article by Stefan_1 in Computer Science
Member Avatar
Hello i have list of football teams on every line is a new team but there are countries in brackets i want to remove all of them, here is a example of the list: Águila (El Salvador) Águilas (Costa Rica) Águilas Doradas (Colombia) Árabe Unido (Panama) Åtvidaberg (Sweden) Ñublense (Chile) … Article by Stefan_1 in Computer Science
Member Avatar
Hello i have list of football teams on every line is a new team but there are countries in brackets i want to remove all of them, here is a example of the list: Águila (El Salvador) Águilas (Costa Rica) Águilas Doradas (Colombia) Árabe Unido (Panama) Åtvidaberg (Sweden) Ñublense (Chile) … First Post in Article by Stefan_1 in Computer Science
Member Avatar
2,703 Replied To a Post in Java program
Hi, I'm staruggling with this program can I get some help please? Write a program called CalculateInvoice that allows a user to enter multiple invoice items for multiple customers and calculates a total invoice amount. For each customer, enter a customer number and customer name. Then, for each customer allow … Article by sarah_15 in Software Development
If you "finished it" by using the hundreds of lines of code from David W then you are deceiving yourself. All you wil have done is to get through this exercise without learning the skills it was supposed to teach, which means you will be in an even worse state …
Member Avatar
Replied To a Post in Java program
Hi, I'm staruggling with this program can I get some help please? Write a program called CalculateInvoice that allows a user to enter multiple invoice items for multiple customers and calculates a total invoice amount. For each customer, enter a customer number and customer name. Then, for each customer allow … Article by sarah_15 in Software Development
Thank you very very much I approciated your help. I just finishted it.
Member Avatar
Sponsored Donated to our Community; Thanks!
Member Avatar
Joined the Community
Member Avatar
Sponsored Created
I wrote a function that is supposed to crop a 2d vector starting at point r, c. The rectangle from there should have rows rows and cols columns. void pgm_crop( vector <IVec> p, int r, int c, int rows, int cols ) { int count = 0; //first count variable … Article by Saif_3 in Programming
c++
Member Avatar
Sponsored Began Watching
I wrote a function that is supposed to crop a 2d vector starting at point r, c. The rectangle from there should have rows rows and cols columns. void pgm_crop( vector <IVec> p, int r, int c, int rows, int cols ) { int count = 0; //first count variable … Article by Saif_3 in Programming
c++
Member Avatar
Sponsored Replied To a Post in cropping 2d vectors
I wrote a function that is supposed to crop a 2d vector starting at point r, c. The rectangle from there should have rows rows and cols columns. void pgm_crop( vector <IVec> p, int r, int c, int rows, int cols ) { int count = 0; //first count variable … First Post in Article by Saif_3 in Programming
c++
Member Avatar
Sponsored Joined the Community
Joined the Community
Joined the Community
Member Avatar
119 Replied To a Post in Java program
Hi, I'm staruggling with this program can I get some help please? Write a program called CalculateInvoice that allows a user to enter multiple invoice items for multiple customers and calculates a total invoice amount. For each customer, enter a customer number and customer name. Then, for each customer allow … Article by sarah_15 in Software Development
And ... If you prefer to use private data members in your Java classes, you could sub in the below three classes (files) where appropriate ... public class Customer { private static Console con = new Console(); private int number = 0; private String name = ""; public int getNumber() …
Member Avatar
Joined the Community
Member Avatar
Joined the Community
Member Avatar
119 Replied To a Post in Java program
Hi, I'm staruggling with this program can I get some help please? Write a program called CalculateInvoice that allows a user to enter multiple invoice items for multiple customers and calculates a total invoice amount. For each customer, enter a customer number and customer name. Then, for each customer allow … Article by sarah_15 in Software Development
Since you seem a little confuzzed ... the following may help to jump-start your Java coding ... Firstly ... recall in Java we like to use classes ... but here I am using classes more like we use a C++ struct ... this is to make the coding simpler ... …
Member Avatar
Joined the Community
Member Avatar
354 Replied To a Post in Java program
Hi, I'm staruggling with this program can I get some help please? Write a program called CalculateInvoice that allows a user to enter multiple invoice items for multiple customers and calculates a total invoice amount. For each customer, enter a customer number and customer name. Then, for each customer allow … Article by sarah_15 in Software Development
I hope your realize that line 34 in your top post is a blank line. I may be asking a lot here in that your error message and code match up for the line numbers.
Joined the Community
Member Avatar
119 Began Watching
Hi, I'm staruggling with this program can I get some help please? Write a program called CalculateInvoice that allows a user to enter multiple invoice items for multiple customers and calculates a total invoice amount. For each customer, enter a customer number and customer name. Then, for each customer allow … Article by sarah_15 in Software Development
Member Avatar
119 Replied To a Post in Java program
Hi, I'm staruggling with this program can I get some help please? Write a program called CalculateInvoice that allows a user to enter multiple invoice items for multiple customers and calculates a total invoice amount. For each customer, enter a customer number and customer name. Then, for each customer allow … Article by sarah_15 in Software Development
You could use some class methods to aid console string input as per here; https://www.daniweb.com/programming/software-development/threads/506093/java-output Also a class for Customer with methods and a class for Item with methods maybe each could have takeInInfo methods also ? Then all you need is a loop with in a loop as per …
Member Avatar
Replied To a Post in Java program
Hi, I'm staruggling with this program can I get some help please? Write a program called CalculateInvoice that allows a user to enter multiple invoice items for multiple customers and calculates a total invoice amount. For each customer, enter a customer number and customer name. Then, for each customer allow … Article by sarah_15 in Software Development
Thank you for your response, Yes I just wrote one line and the rest it is the homework. this is the massage I got when I run my program: > Quoted Text Here Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - Erroneous tree type: <any> at calculateinvoice.CalculateInvoice.main(CalculateInvoice.java:34) C:\Users\Owner\AppData\Local\NetBeans\Cache\8.1\executor-snippets\run.xml:53: Java …
Member Avatar
354 Began Watching
Hi, I'm staruggling with this program can I get some help please? Write a program called CalculateInvoice that allows a user to enter multiple invoice items for multiple customers and calculates a total invoice amount. For each customer, enter a customer number and customer name. Then, for each customer allow … Article by sarah_15 in Software Development
Member Avatar
354 Replied To a Post in Java program
Hi, I'm staruggling with this program can I get some help please? Write a program called CalculateInvoice that allows a user to enter multiple invoice items for multiple customers and calculates a total invoice amount. For each customer, enter a customer number and customer name. Then, for each customer allow … Article by sarah_15 in Software Development
First read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question I think you wrote one original line in your text (the first line) then copied your assignment here. Essentially you are asking folk to read your code and make it work. Instead, tell where you think it's gone wrong and if there is an error, what line …
Member Avatar
119 Began Watching
Hi have a question,why i do not get value output for FutureValue,do i use in the wrong place in Main method calculateFutureValue() ? package sd4.dobs.ui; import java.util.Scanner; public class Console { private static Scanner sc = new Scanner(System.in); public static void displayLine() { System.out.println(); } public static void displayLine(String s) … Article by PulsarScript in Software Development
Member Avatar
119 Replied To a Post in Java output
Hi have a question,why i do not get value output for FutureValue,do i use in the wrong place in Main method calculateFutureValue() ? package sd4.dobs.ui; import java.util.Scanner; public class Console { private static Scanner sc = new Scanner(System.in); public static void displayLine() { System.out.println(); } public static void displayLine(String s) … Article by PulsarScript in Software Development
Try these three files: 1st: import java.util.Scanner; public class Console { private static Scanner sc = new Scanner(System.in); public static void displayLine() { System.out.println(); } public static void displayLine(String s) { System.out.println(s); } public static String getString(String prompt) { System.out.print(prompt); String s = sc.nextLine(); return s; } public static int …
Member Avatar
Hi, I'm staruggling with this program can I get some help please? Write a program called CalculateInvoice that allows a user to enter multiple invoice items for multiple customers and calculates a total invoice amount. For each customer, enter a customer number and customer name. Then, for each customer allow … Article by sarah_15 in Software Development