Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
Member Avatar for leesho

i have this code which input 3 numbers into ascending order. i know make it 10 i just change the array size but then it is only ascending the numbers that were inputing that are under 10. how can i change it so it's any number. [code]#include <iostream> #include <conio.h> …

Member Avatar for mrnutty
0
264
Member Avatar for leesho

i have this code here which inputs the numbers and then adds them. is there a cheats way i can change it so that it inputs the numbers then puts them into ascending order. [CODE]#include <iostream.h> void getNumber(int &, int); void sum( int, int &); void output(int[ ], int, int); …

Member Avatar for s_sridhar
0
102
Member Avatar for leesho

[CODE]#include<iostream.h> #include<iomanip.h> using namespace std; float number1, number2, number3; void readThreeNumbers(number1, number2, number3); void sortThreeNumbers(number1, number2, number3); void displayNumbers(number1, number2, number3); int main () { readThreeNumbers(number1, number2, number3); sortThreeNumbers(number1, number2, number3); displayNumbers(number1, number2, number3); } void readThreeNumbers(number1, number2, number3) { cout << "Please enter three floating-point numbers, space between them: …

Member Avatar for leesho
0
177
Member Avatar for leesho

[CODE]#include<iostream.h> //is used so it will display output to the user and that input can be read from the keyboard #include<iomanip.h> //is used so that the user can format input using namespace std; int main() { int qty1; cout << "Please enter the quantity of Televisions: "<<endl; cin >> qty1; …

Member Avatar for leesho
0
135
Member Avatar for leesho

i have an assignment due for my c++ class where we have to input from the keyboard the quantity and input from the keyboard the stock price. so that it outputs as: Stock Item Quantity Unit Price Total Value ---------------------------------------------- Television 5 368.00 1840.00 Video Recorder 8 268.00 2144.00 Camera …

Member Avatar for finito
0
156
Member Avatar for leesho

i have this code and for an class work task and you have to do a walkthrough table and work out the output. But i dont know how you do a walkthrough table. Can someone help? [CODE] int c = 0, sum = 0; while (sum < 8) { c++; …

Member Avatar for leesho
0
1K
Member Avatar for leesho

a) INT b) my-name c) your_name d) $dollar e) stock Price f) _UnitPrice g) while h) 1$dollar i) switch j) whileYou k) ifYou l) if m) int n) int34 o) ab.3c p) ab_3c q) 4%6 r) fourTimesSix s) 4 * 6 t) apples3

Member Avatar for techsheaven
0
90
Member Avatar for leesho

its a random number generator [CODE]#include <iostream.h> #include <stdlib.h> #include <time.h> #include <iomanip.h> using namespace std; int main () { const int MAX_RANGE = 100; int value; int random = rand( ); int num = ((random % 100) + 1); int quit; do { srand (time (NULL)); value = rand() …

Member Avatar for WaltP
0
154