No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Is there a function used to calculate the length of an array. For instance, if someone enters John, the function outputs 4. Or is it necessary to write a function to do it, and how is it done. (This is not homework this time, just want to know for my … |
|
Re:
plz any one help me to solve this two proble befor 8/2/2008 plzzzzzzzzzzzzzzzzzzzzz helpe me >>> Problem 1: Fermat’s Theorem Program: fermat.cpp Input: fermat.in Output: fermat.out Description In a letter dated December 25, 1640; the great mathematician Pierre de Fermat wrote to Marin Mersenne that he just proved that an … |
|
Suppose that you are developing a class, Account, from which a customer can withdraw money. The Account class needs to keep track of the number of withdrawals that have occurred in each customer’s account. The partial specification for Account class is given below. You are required to complete the code … |
|
Re:
Candy Machine Simulation Write a program to simulate a candy machine.Your machine offers candy for 75 cents, gum for 50 cents, and chips for $1.You should ask the user repeatedly which of the three items she wishes to purchase, or whether she wants to quit.If she chooses to purchase an … |
|
Re:
I have learned the basics of c++ and found out that different c++ compilers behave differently especially when it comes to errors. I would like the community to advice as to which compiler is the most popular and if it can be used with .net so that once I develop … |
|
My school for some reason taught me C++ last semester, and now i have to learn C#. I have to do a lab assignment....here it is and here is what I have. You are required to develop a program that calculates the average exam score for students taking a course. … |
|
I need to change the AvgGrade2 function to work with what is shown, but i do not know what to edit for it to work correctly. [code] #include <iostream> #include <fstream> #include <string> #include <iomanip> using namespace std; struct ClassList { // Definition of a structure called ClassList // ClassList … |
|
Re:
I know you cant do my work for me but could someone give me some guidance as to how I should approach this to get me going. Im going to need the For loop but Im not sure how? Question- Write a function that displays at the left margin of … |
|
For a class I am taking I need to produce 1000 random numbers and store them in an array. I am totally lost and need some help. If someone can get me started on the program it would help me. Also, i need to write a function to find the … |