Forum: VB.NET 30 Days Ago |
| Replies: 9 Views: 392 jbennet i'm new to programming and what am i supposed to do with "CInt"??? |
Forum: VB.NET 30 Days Ago |
| Replies: 9 Views: 392 sknake i tried that and its saying "overload resolution failed because no accessible 'TryParse' accepts this number of arguments |
Forum: VB.NET 30 Days Ago |
| Replies: 9 Views: 392 mikiurban are you saying to do decTotal = decBasePrice + decEnginePrice + decInterior + decRadio + decShippingCharge + decDealerCharge
Console.WriteLine("The total selling price for your... |
Forum: VB.NET 31 Days Ago |
| Replies: 9 Views: 392 'Radio Choice Selection
Console.WriteLine("Please enter the Radio Choice for your vehicle: ")
Console.WriteLine("Enter 1 for AM/FM Radio")
Console.WriteLine("Enter 2 for... |
Forum: VB.NET 31 Days Ago |
| Replies: 1 Views: 258 How would I ask the user to input what type of engine they want and getting an output of $150
Console.WriteLine("Enter EngineChoice for your vehicle:")
Response = Console.ReadLine()
... |
Forum: Java 32 Days Ago |
| Replies: 2 Views: 202 //Returns firstname middle last name initial with 3 character initials for example CMP
public char charAt(int index){
String initials = firstName.charAt(0) + middleName.charAt(0) +... |
Forum: Java 33 Days Ago |
| Replies: 2 Views: 202 Help! The only thing I seem to not get is the initials from the substring........... any ideas?
public class Name {
//Data Members
private String firstName;
private String... |
Forum: VB.NET Oct 27th, 2009 |
| Replies: 0 Views: 166 Am I on the right track?
Problem: Compute the income tax due on a taxable income entered by the user, given the data as shown on the following table:
Taxable Income Tax... |
Forum: VB.NET Oct 27th, 2009 |
| Replies: 0 Views: 269 I'm not sure if I did this right...
Problem: Using VB.NET write a console application to implement the New Car Price Calculator.
Options available for Universal Motor's vehicles:
Engine ... |
Forum: VB.NET Oct 18th, 2009 |
| Replies: 4 Views: 295 that worked great thanks. alot of your codes aren't at my level yet but its cool =) |
Forum: VB.NET Oct 17th, 2009 |
| Replies: 4 Views: 295 I need help writing a program that prompts the user for five grades and then provides the user with an average for all grades entered.
Module Module1
Sub Main()
'Declare Array... |
Forum: VB.NET Oct 17th, 2009 |
| Replies: 3 Views: 244 thanks sknake that worked wonderfully i thought about using the <> |
Forum: VB.NET Oct 17th, 2009 |
| Replies: 3 Views: 244 8. create a console application. Insert the below code, and run the program. Note that a conditional statement is used within the body of the loop. This is common. Write a similar program using this... |
Forum: Java Oct 16th, 2009 |
| Replies: 2 Views: 298 thanks bestjew yeah i've closed out some of the threads that were solved... sorry for the inconvenience...... anyhow ok i see where i misspelled i'll try the doWithdraw |
Forum: Java Oct 16th, 2009 |
| Replies: 12 Views: 433 Jamescherrill you mentioned to take out } on line 18 which i did and put 25 outside the loop but now its giving me a "reached the end of file while parsing" error
//Find the sum and average
... |
Forum: Java Oct 16th, 2009 |
| Replies: 12 Views: 433 masijade hi you said something about { not being there after the for statement ... i double checked and i dont see where its missing maybe i read your question wrong? |
Forum: Java Oct 16th, 2009 |
| Replies: 9 Views: 444 you guys have been very helpful I've tried to work around this error but its not helping i dont see where i am getting an illegal start the brackets seem to be in place. but then i'm questionable on... |
Forum: Java Oct 15th, 2009 |
| Replies: 2 Views: 298 I'm new to JAVA and I can't seem to get this thing down I might be totally off. But I need to do a withdraw and deposit method any ideas??
public class Account {
private int id;
private double... |
Forum: Java Oct 14th, 2009 |
| Replies: 3 Views: 307 oh totally missed that ); thanks for the heads up. I know you said you were getting no errors but now I'm getting missing method body...
[java=code] //... |
Forum: Java Oct 14th, 2009 |
| Replies: 3 Views: 307 just trying to create a person(or two) using name, age and nationality but its giving me illegal start of expression error
[java=code]//... |
Forum: Java Oct 13th, 2009 |
| Replies: 9 Views: 444 JamesCherrill ok so i put line 5 outside the loop float average = sum / TOTAL_NUMBERS; i think that worked but now im still having issues getting the number of value greater than the average i think... |
Forum: Java Oct 13th, 2009 |
| Replies: 12 Views: 433 thanks i've made some changes what do you think?
//Find the sum and average
for (int i = 0; i < numbers.length; i++){
sum += numbers[i];
float average = sum / TOTAL_NUMBERS;
} |
Forum: Java Oct 13th, 2009 |
| Replies: 9 Views: 444 [java=code]import java.util.Scanner;
public class AverageArray {
public static void main(String[] args) {
final int TOTAL_NUMBERS = 10;
int[] numbers = new int[TOTAL_NUMBERS];
float sum;... |
Forum: Java Oct 13th, 2009 |
| Replies: 12 Views: 433 thanks masijade that helped alot. attention to detail right? unfortunately now i have another error
[java=code]import java.util.Scanner;
public class AverageArray {
public static void... |
Forum: Java Oct 13th, 2009 |
| Replies: 12 Views: 433 the error line is under // Find the number of values in the array greater than the average |
Forum: Java Oct 13th, 2009 |
| Replies: 12 Views: 433 hi guys i'm trying to get the sum, average, and the number of values in the array greater than the average... i am new to this and keep getting errors! helllpp..
import java.util.Scanner;
... |
Forum: Java Oct 13th, 2009 |
| Replies: 6 Views: 356 thanks that helped but now i came up with a different error... wow this site is great! |
Forum: Java Oct 12th, 2009 |
| Replies: 6 Views: 356 import java.util.Scanner;
public class AverageArray {
public static void main(String[] args) {
final int TOTAL_NUMBERS = 4;
int[] numbers = new int[TOTAL_NUMBERS];
float sum;
... |
Forum: Java Oct 12th, 2009 |
| Replies: 6 Views: 356 Mr. Cherrill I'm new to this daniweb where would I go about reposting with code=java tags?? I see the option for [code] on this message box I'll try that for now but thanks for the resonse. |
Forum: Java Oct 11th, 2009 |
| Replies: 6 Views: 356 Hi guys i'm new to programming and i'm supposed to do a sum then average in which the output requests for four numbers from user then takes those #'s add them up and get the average then do a number... |
Forum: Community Introductions Oct 10th, 2009 |
| Replies: 0 Views: 241 Hi everyone I'm new to this. Matter of fact I'm new to programming (period) I'm currently enrolled for two computer science courses and I'm not going to lie its kicking my butt the upper level course... |
Forum: Java Oct 8th, 2009 |
| Replies: 7 Views: 30,197 hi everyone i'm new to programming and i have to say its fun and frustrating at the same time could anyone help me fix this??
// Exercise5_2.java: Create a method for summarizing digits in an... |