Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
c++ x 32
Member Avatar for jrice528

In my program I am using the do-while loop to go through program.. my question is how do I loop the program without the do-while loop... rather that when the user enters menu number 0, it quits the program... Teacher uses a script to grade the programs and on hsi …

Member Avatar for WaltP
0
132
Member Avatar for jrice528

Ok, I am setting all elements in the array to 0... If all elements are 0, i want it to display "No inventory" if there is something in the element, i want to display only its contents.. Heres the code, how do I make it display No Inventory only when …

Member Avatar for Ancient Dragon
0
264
Member Avatar for jrice528

In the retailitem.cpp I need to beable to increment x,y and z. So that is displays the next item. Heres what the code should output [code] Descriptio Units On Hand Unit Price ($) Item #1 Jacket 12 59.95 Item #2 Jeans 40 34.95 Item #3 Shirt 20 24.95 [/code] Heres …

Member Avatar for Narue
0
102
Member Avatar for jrice528

OK, I finally figured out command line arguments... my program is called prime, in the console i need to type "prime 7" and the program will tell me if its a prime or not. heres my code: [code]#include <cstdlib> #include <iostream> #include <iomanip> #include <stdlib.h> using namespace std; int main(int …

Member Avatar for Duoas
0
111
Member Avatar for jrice528

What exactly does this mean?? Your program must determine the user-specified lower bound and upper bound by using command-line arguments. You will need to use the strtoul() function (from the cstdlib header) to convert command-line arguments to int values.

Member Avatar for vmanes
0
113
Member Avatar for jrice528

Ok, i have this program It determines if the number entered is a prime or not. I did that, posted it, and now i need to do this: Determine and print the prime numbers between a user-specified lower bound and user-specified upper bound. Read all through my text and browsed …

Member Avatar for Ancient Dragon
0
142
Member Avatar for jrice528

I am working on homework, and been doing this assignment with absolutely no luck, i am in need of major help. This is the assignment. Using an array, initialize all elements in the array to 1. Starting with array subscript 2, every time an array element is found whose value …

Member Avatar for jrice528
0
107
Member Avatar for jrice528

without messing with the class, cause i cant modify it , i was wondering if there is a way to return thefunction calcscore as a float. I cant modify the class, where i call the function "This contestants average score was..." it always just returns a .000 is there a …

Member Avatar for Ancient Dragon
1
127
Member Avatar for jrice528

Ok, i made a psot earlier but my code is alot different and different question so i didnt know where to put it. My question is thiss... in my calcScore function. This is my requirement: Design and implement a function double calcScore() that calculates and returns the average of the …

Member Avatar for AnthIste
0
136
Member Avatar for jrice528

Ok, i have been working on this program for a LONG time and i need some major help with the main.cpp file PLEASE. I have to design a function that Designs and implements a function void getJudgeData() that asks the user for a judge's score, stores it in a reference …

Member Avatar for zandiago
0
175
Member Avatar for jrice528

I am so close to finsihing my homework im on last programmign assignment. I have the program written but i cant figure out what to take from main and put into my flip function. the teacher said it should only contain one lineof code. Anbody have any ideas?Which is : …

Member Avatar for ndeniche
0
104
Member Avatar for jrice528

This program was suppose to be with a function but I am trying to write without a function first, then adding one later. I am new to programming and still gettin basics. I got this much but its only giving me a 1 and a 0. Ive tried to find …

Member Avatar for iamthwee
0
177
Member Avatar for jrice528

I just started c++ and programming and need some major help. I am trying to convert binary to decimal. I have searched through everything and its all to hard for me to understand,and uses terms ive never seen. I need to convert the binary to dec, using % and / …

Member Avatar for WaltP
0
119
Member Avatar for jrice528

I have written a binary to decimal program. I have several loops. I was wondering if there is a command... Say the user is done entering binary numbers, cause the program was supposed to be made by entering one at a time. ( homework ) Anyways, The user is done …

Member Avatar for Ancient Dragon
0
45