No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello...I'm trying to write this program answering this question and I keep getting C2440 errors and C2664 errors and I did some research but couldn't find anything on how to correct it. The question says : Write a program that dynamically allocates an array large enough to hold a user … |
|
Hi! I'm new to Java. I need to make an array like: int b[] = {0,1,2,3,4,5,6,7,8,9}; Is it possible to use a loop to generate an array like that? I don't know if I'm asking the right question, so I will try to explain it: [code=java] class test0{ int a=0; … |
|
Hi! I'm building a spreadsheet in Java. I want to read a string and read the integers in it to do calculations. Such as =2+(3*5)/4 Is there any method in string class to get integers. |
|
i am trying to write a code that stimulates an simple ATM. i have two class, one for the Bank Account and another for the ATM itself. [code] public BankAccount(String name1, int acctNum, int pinNum ){ name = name1; accountNumber = acctNum; pinNumber = pinNum; balance = 100.00; } public … |
|
I just started java installed everything that I was required. I just completed my python class. for just trying a java code I tried this code. code: [code=java] /** * This program lets the user play HighLow, a simple card game * that is described in the output statements at … |
|
Can someone please help with this project of mine? I am not really good at GUI... create a new account, check account status. and make purchase with a credit card. Create a New Account You must ask the user to input some information: applicant's name (e.g. "John Smith"), application date … |
|
Hi, I need to show stars equal to the each number of an array. I think I need another for statement. I`ve tried, but in vain. I do not know which variables should be included in this for statement ?? the output should be : 0|****(4) 1|**(2) 2|*********(9) and so … |
|
I need to make a java app that computes and prints mean and standard deviation for a list of integers x1 through xn. If anyone can help out, point me in the right direction even, that would be awesome, I get intimidated by these math problems when it comes to … |
|
Hello, I am a first time poster and not that familiar with HTML codes or uses. I did try to look this one up and could not find it. When I enter 26.2, it gives me 26.20001. I do not understand where that 1 is coming from. Thank you [CODE]#include … |
|
I'm just a freshman in college highly interested and currently pursuing a major in computer science. I'm just getting into the basics of programming and came to daniweb to possibly further my knowledge of programming and posts future questions. I'm still undecided on a minor to do and anyones opinion … |