Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
amounts
- Page 1
Re: Sentiment Analysis with Data Augmentation Using ChatGPT
Programming
Computer Science
2 Months Ago
by Abdul_116
Fascinating to see sentiment analysis being applied to understand Pakistani consumers on High Street Pakistan! As online shopping thrives, it'd be interesting to compare brand opinions on both platforms - how do traditional High Street stores fare against online giants in terms of sentiment? Could data augmentation help bridge the data gap for …
mysql- storing large dollar amounts
Programming
Databases
13 Years Ago
by fuston05
Having trouble storing dollar
amounts
in the thousands due to the "," that gets inserted once the number becomes 1, 000.00. Any advise?
My Code(Check it please , Give me tips and tricks)
Programming
Software Development
12 Years Ago
by chiiqui
…; i++) { int Position = rgen.nextInt(
amounts
.length); double temp =
amounts
[i];
amounts
[i] =
amounts
[Position];
amounts
[Position] = temp; } } public void …} else { } briefcase[i] = new Briefcase(); double value =
amounts
[i]; briefcase[i].setAmount(value); briefcase[i].setFace(i); } } public…
Need help to create this program
Programming
6 Years Ago
by Khushali_1
… to a file and the console the number of sales
amounts
, the lowest amount, the highest amount, and a complete list… of the
amounts
in order from lowest to highest. Sample output shown on… less. The program must keep track of the number of
amounts
read in from the file, and stop at the sentinel…
To create a program that stores value from a file in the array
Programming
Software Development
6 Years Ago
by Khushali_1
… file and the console the number of sales
amounts
, the lowest amount, the highest amount, and… a complete list of the
amounts
in order from lowest to highest. Sample output…program must keep track of the number of
amounts
read in from the file, and stop …data set and is not one of the
amounts
. The file location must be the project …
HELP!!
Programming
Software Development
13 Years Ago
by ButterFly21
…return amt * (changeInServings); } //out the ingredient, and
amounts
//35, 12.2c, 12.2ml /* Outputs a single …numbers are displayed with a fixed decimal place. * *
Amounts
have their units placed after them * c for cups *…(val)); return val; } //5 ingredients //track total
amounts
/* * Converts a recipe in terms of serving size and…
Check to see if I followed the comments correctly
Programming
Software Development
13 Years Ago
by ButterFly21
… value. return amt * (changeInServings); } //out the ingredient, and
amounts
//35, 12.2c, 12.2ml /* Outputs a single ingredient and…, val, convertCupstoMilliliter(val)); return val; } //5 ingredients //track total
amounts
/* * Converts a recipe in terms of serving size and units…
Need Some Help
Programming
Software Development
16 Years Ago
by deitystrife
…fractions of one cent! You can't pay with negative
amounts
! Please type in your payment "); scanf("%… of one cent! You can't pay with negative
amounts
! Please type in your payment "); scanf("%… of one cent! You can't pay with negative
amounts
! Please type in your payment "); scanf("%…
OOP - create class help
Programming
Computer Science
16 Years Ago
by chapelhoffer
… double balance ; char accountNumber ; bool accountType ; double
amountS
; public: void defaultCTOR(){ balance = 0 ; accountType …, BankAccount amount){ balance = balance - amount.
amountS
;} void credit(double balance,double amount){ balance…
Void Function - string parameters
Programming
Software Development
14 Years Ago
by Vani3863
… 5b: Two value parameters and two reference parameters The
amounts
are calculated as follows: R80 for one fruit cake and… Now write a void function calculateAmounts that calculates two
amounts
– one amount that is due if the client …, there are two reference parameters, namely the two
amounts
that should be calculated and be available to the main…
strtok
Programming
Software Development
14 Years Ago
by leeba
…void main () { /* defines maximum list of dollar
amounts
*/ #define MAXLINE 100 float rate; float *dollar[MAXLINE]={…amp;rate); printf("Please input dollar
amounts
to calculate into Shekels. Return will …end the list."); /* reads the list of dollar
amounts
*/ while (spaceCount<=MAXLINE) { if ((c=getchar())=='…
Help with Java Mortgage Calculator
Programming
Software Development
13 Years Ago
by djbhoco
… PrinAmt3; //Assign 3 different principal
amounts
double Payment1, Payment2, Payment3; //Assign 3 different payment
amounts
double Int1, Int2, Int3; //Assign… moPrin1, moPrin2, moPrin3; //Assign 3 different monthly principal payment
amounts
double LoanBal = 0; PrinAmt1 = principal; PrinAmt2 = principal; PrinAmt3 = principal…
Re: Help with Java Mortgage Calculator
Programming
Software Development
13 Years Ago
by java_programmer
… PrinAmt3; //Assign 3 different principal
amounts
double Payment1, Payment2, Payment3; //Assign 3 different payment
amounts
double Int1, Int2, Int3; //Assign… moPrin1, moPrin2, moPrin3; //Assign 3 different monthly principal payment
amounts
double LoanBal = 0; PrinAmt1 = principal; PrinAmt2 = principal; PrinAmt3 = principal…
Can this code of mine be more efficient?
Programming
Software Development
12 Years Ago
by chiiqui
…<briefcase.length ; i++){ briefcase[i] = new Briefcase(); double value =
amounts
[i]; briefcase[i].setAmount(value); briefcase[i].setFace(i); }//initialization… and insertion of
amounts
in the briefcase System.out.println("\tPlease Select from…
Re: Can this code of mine be more efficient?
Programming
Software Development
12 Years Ago
by chiiqui
…= new Briefcase[27]; //an array of briefcases double
amounts
[] = {0,0.01,0.5,1,5,10… i++){ briefcase[i] = new Briefcase(); double value =
amounts
[i]; briefcase[i].setAmount(value); briefcase[i].setFace(i); }//…initialization and insertion of
amounts
in the briefcase System.out.println("\tPlease …
Re: Generating Numbers from 0.0 to 999 999
Programming
Software Development
12 Years Ago
by chiiqui
[CODE]public void Shuffle(){ Random rgen = new Random(); for (int i=0; i >
amounts
.length; i++) { int randomPosition = rgen.nextInt(
amounts
.length); double temp =
amounts
[i];
amounts
[i] =
amounts
[randomPosition];
amounts
[randomPosition] = temp; } }[/CODE] how aobut this?
Re: Generating Numbers from 0.0 to 999 999
Programming
Software Development
12 Years Ago
by chiiqui
… i = 0; i <
amounts
.length - 1; i++) { int randomPosition = rgen.nextInt(
amounts
.length); double temp =
amounts
[i];
amounts
[i] =
amounts
[randomPosition];
amounts
[randomPosition] = temp; } }[/CODE…
Re: Generating Numbers from 0.0 to 999 999
Programming
Software Development
12 Years Ago
by chiiqui
…; i--) { int r= rand.nextInt(i+1); double temp =
amounts
[i];
amounts
[i] =
amounts
[r];
amounts
[r] = temp; } }[/CODE][/QUOTE] what does this part… specifically do? [CODE]
amounts
[i] =
amounts
[r];[/CODE] does it switch the indexes? or the values…
Re: Generating Numbers from 0.0 to 999 999
Programming
Software Development
12 Years Ago
by JamesCherrill
…chiiqui;1643102]what does this part specifically do? [CODE]
amounts
[i] =
amounts
[r];[/CODE] does it switch the indexes? or …It does exactly the same as your [CODE]
amounts
[i] =
amounts
[randomPosition];[/CODE] It takes the value is stored …in the array element
amounts
[randomPosition] and copies that value into the array …
if else statement
Programming
Web Development
12 Years Ago
by wwefriend
… * invoice_tax Sum of global invoice tax
amounts
* invoice_shipping invoice_shipping * invoice_discount invoice_discount * invoice_paid… * invoice_tax Sum of global invoice tax
amounts
* invoice_shipping invoice_shipping * invoice_discount invoice_discount * …
PSEUDOCODE FOR JAVA HELP NEEDED PLEASE!!
Programming
Software Development
9 Years Ago
by shit3432
…player1 < 0) THEN PRINT “Error! Price
amounts
must be more than $0” ENDIF UNTIL player1 … player2 = player1) THEN PRINT “Error! Price
amounts
must be more than $0 and not same …, player2, player3) THEN PRINT “Error! Price
amounts
must be more than $0 and not same as…
how to store a data from a form in multi dimensional array
Programming
Web Development
6 Years Ago
by Dilawar_1
…('id'=> $id,'am'=>$am) ); $heads = array(); $
amounts
= array(); $i = 0; foreach($arr as $sub) { $key… { $heads["'" . $i . "'"] = $sub['id']; $
amounts
["'" . $i . "'"] = $sub['am']; $i++; } …
Re: Generating Numbers from 0.0 to 999 999
Programming
Software Development
12 Years Ago
by chiiqui
… 3 does? - sorry it doesn't do that. and
amounts
[i] =
amounts
[r]; doesn't exactly swap the two values, although it… Random(26); int i = 0; int r = 0; for (i =
amounts
.length-1; i>=1; i--) r = rand.nextInt(); r…
Accumulating Counts and taking Averages
Programming
Software Development
15 Years Ago
by leroi green
… a program I'm working with that takes in rainfall
amounts
and then shows the total rainfall amount and then gives… procedure to calculate the total and average ' rainfall
amounts
, then displays both
amounts
Static rainCounter As Integer Static rainAccum As Decimal Dim…
Lost - Pointers, Structs, Functions
Programming
Software Development
15 Years Ago
by StainlessSteelR
… report file to display the division name, four quarterly sales
amounts
and the total sales for the year for that division… function named addDivision to add this divisions sales
amounts
to the corporate sales
amounts
. Pass the pointer of both the division and…
code error
Programming
Software Development
13 Years Ago
by aukeebler
…int choice = 0; double rainfall[12] = {0.0}; //get rainfall
amounts
for (int x = 0; x < 12; x +=1) {…lt;< endl; cout << "1 Display monthly
amounts
" << endl; cout << "2 …***** void displayMonthly(double rain[]) { cout << "Monthly rainfall
amounts
:" << endl; for (int x = 0; x …
Re: code error
Programming
Software Development
13 Years Ago
by PatrixCR
…int choice = 0; double rainfall[12] = {0.0}; //get rainfall
amounts
for (int x = 0; x < 12; x +=1) {…lt;< endl; cout << "1 Display monthly
amounts
" << endl; cout << "2… void displayMonthly(double rain[]) { cout << "Monthly rainfall
amounts
:" << endl; for (int x = 0; x …
Need help with "lists"
Programming
Software Development
13 Years Ago
by VectorAKA
…, and the months with the highest and lowest
amounts
. and here is the code I have written …will display # the months with the highest and lowest
amounts
. print 'This program will calculate the total rainfall …will display' print 'the months with the highest and lowest
amounts
.' print # This is for spacing output def main (): …
Numeric Palindrome Checker/random # generator/infile+outfile
Programming
Software Development
13 Years Ago
by globberbob
… dromes = 0; int regs = 0; int amount; int
amounts
; int rnumber; unsigned seed = time(0); char filename[50];…quot;-------------------------------" << endl; cin >> amount;
amounts
= amount; strcat(filename, ".txt"); rfile.open(filename…
Converting Deprecated Functions
Programming
Software Development
13 Years Ago
by stark025
…; endl; displayBalance(); } else { cout << "Invalid amount specified.
Amounts
paid must not be greater than the account balance."…; getch(); payBill(); } } else { cout << "Invalid amount specified.
Amounts
paid must be greater than 0." << endl…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC