c++

Most popular questions
  1. C++

    I have no idea how to construct this program. Any help is appreciated. Thank you. In a population, the birth rate is the percentage increase of the population due to births and the death rate is the percentage decrease of the population due to deaths.

    asked by Anon on November 17, 2010
  2. c++

    Plzzzzzzzzzzzz Help program that produces a bar chart showing the population growth of Prairieville, a small? Write a program that produces a bar chart showing the population growth of Prairieville, a small town in the Midwest, at 20 year intervals during

    asked by imran on July 8, 2012
  3. c++

    Distance between two 3-D points. Given two points in space (3-dimensional), find the distance between them. The user will input the coordinates (x,y,z) of the two points and your program will calculate and display the distance between the points.

    asked by amira on October 24, 2012
  4. C++

    I am having trouble identifying the flaws in my code. I need to created a program that calculates the rainfall for a given year in months. I needed it to show the total amount of rain for the year, the average monthly rainfall, and the months with the

    asked by Anonymous on November 26, 2010
  5. c++

    Write a program that asks the user to input a grade that he or she received on an exam. The grade is an integer from 0 to 100 inclusive. The program should convert the numeric grade into the equivalent letter grade. Do the conversion by using a function

    asked by jermaine on May 18, 2012
  6. C++

    The variables arr1 and arr2 have been declared as pointers to integers . An array of 10 elements has been allocated, its pointer assigned to arr1, and the elements initialized to some values . Allocate an array of 20 elements , assign its pointer to arr2,

    asked by Frank on March 16, 2014
  7. C++

    Write a program that prompts the user to enter the cost of renting one room,the number of rooms booked,the number of days the rooms are booked and the sales tax (as a percent). I am confused on how to start

    asked by Martiika on August 27, 2015
  8. C++

    Write a function that takes an int argument and doubles it. The function does not return a value.

    asked by Kewal on January 2, 2012
  9. c++

    Write a C++ program that reads the Capacity (in gallons)of an automobile fuel tank, and Miles per gallon this automobile can be driven. It outputs the number of miles this automobile is driven without refueling

    asked by ahmad on May 17, 2014
  10. c++

    write a c++ program out put of 1 3 5 7 9

    asked by Anonymous on January 30, 2019
  11. c++

    Write a C++ program that reads the population of town A and its growth rate as well as the population of town B and its growth rate. It outputs after how many years the population of town A will be greater than that of town B and the values of their

    asked by ahmad on June 4, 2014
  12. C++

    In this exercise, you will create a program for the sales manager at Computer Haven, a small business that offers motivational seminars to local companies. Figure 7 – 64 shows the charge for attending a seminar. Notice that the charge per person depends

    asked by Evelin on March 24, 2016
  13. C++

    File version maintenance utility   A team of software developers has been asked to develop a file version maintenance utility . The utility should maintain all the  version of a file. When a user modifies a file, the current version of the file should be

    asked by Shodipo john Olawale on May 27, 2011
  14. C++

    // Program: name of program // Author: your name // Date Written: date you began writing the program /* Abstract: Brief description of the program */ Include in-line comments in the body of your program. You can convert temperature from degrees Celsius to

    asked by Frank on September 23, 2016
  15. C++

    1. while(c 0 ) sum = sum + z; 3. x = 1; while (x

    asked by Anonymous on October 20, 2010
  16. C++

    Write a program that asks the user to enter an object's mass, and then calculates and displays its weight. If the object weighs more than 1,000 Newtons, display a message indicating that it is too heavy. If the object weighs less than 10 Newtons, display a

    asked by Hassan on April 6, 2017
  17. c++

    #include #include using namespace std; string getClientDatabase(); int main() { string data = getClientDatabase(); // TODO: // Implement a function that parses clients data into proper containers // Implement a function that finds the youngest client //

    asked by meryem on November 24, 2014
  18. c++

    C++ Program to read, print name and other details of 50 students ? Problem Statement : The annual examination is conducted for 50 students for three subjects. Write a program to read the data and determine the following: (a) Total marks obtained by each

    asked by tadesse on June 12, 2014
  19. C++

    Write a MAIN function and a FUNCTION to compute the sum of the below series. ((-1)^(n+1)*n!)/(n*n) (from n=1 to infinity) Within the MAIN function: . Read a variable EPSILON of type DOUBLE (desired accuracy) from the standard input. EPSILON is an extremely

    asked by maria PLEASE HELP on March 9, 2012
  20. C++

    class professor {}; class teacher : public virtual professor {}; class researcher : public virtual professor {}; class myprofessor : public teacher, public researcher {}; Referring to the sample code above, if an object of class "myprofessor" were created,

    asked by Jason on July 25, 2007
  21. C++

    Write a MAIN function and a FUNCTION to compute the sum of the below series. ((-1)^(n+1)*n!)/(n*n) (from n=1 to infinity) Within the MAIN function: . Read a variable EPSILON of type DOUBLE (desired accuracy) from the standard input. EPSILON is an extremely

    asked by maria PLEASE HELP on March 9, 2012
  22. c++

    write a program that reads ten numbers, computes their average and find out how many numbers are above average.

    asked by nethiyaa on May 10, 2011
  23. c++

    You have been tasked to implement a program that manipulates a list of clients’ information. The client information consists of client’s phone number, first name, last name, and age. The list is not sorted in any particular order. Furthermore, you are

    asked by meryem on November 24, 2014
  24. C++

    #include #include int main ( ) { int choice; cout

    asked by asdf on July 10, 2008
  25. C++

    My assignment: 1- Rewrite your C++ program in Project 1 to compute the number of words, average length and lengths of the words in the text file words.txt – the input file. Each line in the input file contains exactly one word. The words in the input

    asked by Josh on June 30, 2016
  26. C++

    (4 points) Identify the errors in the following statements. int* p = &44; - i think the star is the error because pointers are supposed to be like *p?? char c = 'w'; char p = &c; - if its char wouldnt that also be in apostrophe? So char c= 'w' and char p =

    asked by Digtzy on March 28, 2016
  27. C++

    Write a complete, working program that will do the following: Suppose you want to write a program to calculate the total cost of an item that has sales tax added. If a given item costs 14.97, and the tax rate is 6.7%, display the following information: a)

    asked by nick on September 9, 2013
  28. C++

    Question 3: What specific information does the compiler need to perform a successful function call? I figured it was just a function definition, initialized variables, and a function declaration, but I guess I was wrong.

    asked by Anonymous on February 10, 2013
  29. C++

    I am trying to create a program that displays shipping charges for two region codes. The region code has to have exactly 3 characters (the letter A or B followed by two numbers). Display a message if invalid region code is entered. use a sentinel value to

    asked by Anon on October 6, 2016
  30. c++

    1. Create a class called Faculty that includes three pieces of information as data members: a. a first name (type string) b. a last name (type string) c. a monthly salary (type int). They should be private. 2. This class should have a constructor that

    asked by Anonymous on March 12, 2016
  31. c++

    write a program that reads ten numbers, computes their average and find out how many numbers are above average.

    asked by nethiyaa on May 10, 2011
  32. C++

    For each of the following problems, write a program or a program segment that performs the specified action.Each problem refers to class Polygon (Fig. L 11.15). This class contains a dynamically allocated array of x-coordinates and a dynamically allocated

    asked by karen on March 29, 2011
  33. c++

    MACHINE PROBLEMS #2 1. Create a C++ program that would input the following data about a merchandise: Product Number, Item Description, Original Price, Estimated Years of used of a Merchandise, Salvage Value of Merchandise. Compute the Depreciation and Rate

    asked by mimi on August 5, 2015
  34. C++

    True or false: A function call statement transfers control of the program to the last statement in the body of a function.

    asked by Bob on November 8, 2013
  35. C++

    hi i need some help on my final it says create an application that allows the user to enter a customer's account number. The application should lookup name and balance based on the account number according to the following list: (NOTE: you will be given a

    asked by cesar on December 18, 2012
  36. C++

    Write a MAIN function and a FUNCTION to compute the sum of the below series. (n!)/(2n+1)! (from n=1 to infinity) Within the MAIN function: . Read a variable EPSILON of type DOUBLE (desired accuracy) from the standard input. EPSILON is an extremely small

    asked by Emre on November 11, 2012
  37. C++

    you are right the question is exactly like this... can you help me for this question.... thanks Write a MAIN function and a FUNCTION to compute the sum of the below series. ((-1)^(n+1)*n!)/(n^n) (from n=1 to infinity) Within the MAIN function: . Read a

    asked by MATHMATE PLEASEE HELP on March 15, 2012
  38. C++

    Using C++ (if, char or Boolean) Write a program that asks the user for a two digit number and then prints the English word for that number. Sample run: Enter a two-digit number: 45 You entered the number forty-five. PLAN: Read the number entered as an

    asked by Sundayy on February 22, 2011
  39. C++

    Homework is over pointers 1. (3 points) True or false? If (x == y) then (&x == &y). T F Explain your choice: I think its true but I don't really understand why If (x == y) then (*x == *y). T F Explain your choice: False but not sure why

    asked by Digtzy on March 28, 2016
  40. c++

    when i compile the following, many erors appear // include necessary libraries #include #include // use std namespace using namespace std; int main() { // declare the value of PI const double PI = atan( 1.0 ) * 4.0; // declare variables to store the X and

    asked by denial on September 29, 2014
  41. C++

    Would you check and correct my error please! ******************************* #include #include #include viod Binary_to_Decimal(); int main(int argv,char argc) { while(1

    asked by Ayk on March 4, 2014
  42. C++

    A c++ program which convert from decimal, octal & hexadecimal to binary equivalent with array concept.

    asked by Ayk on March 2, 2014
  43. C++

    what are the simplest methods to understand C++ programming language?

    asked by Seth on June 6, 2013
  44. c++

    Write a program to bring workers' salaries so that if work 150 hours takes 5 pounds on each additional hour takes 2 pounds

    asked by moha on February 6, 2013
  45. c++

    The distance between two cities is 500 miles. Let us call these cities as CityA and CityB. Employees live in the CityA and travel to the CityB every day in the morning and come back in the evening on the same day except on Saturday and Sunday. They do not

    asked by nora on October 17, 2012
  46. c++

    Your Mathematic school teacher want to use a program that can read the name and the mark of a student. Your teacher want the program to automatically find the grade of the mark and display the result(name, mark and grade). Help your teacher to develop a

    asked by sarah on October 11, 2012
  47. C++

    You are to use an array of doubles to compute the average of a sequence of numbers and the standard deviation of the numbers. Based on these value you will print for each of the values in the array: the array index, the value, the deviation from the

    asked by MAX on April 23, 2012
  48. C++

    Write a statement that passes the value 4 to the function below and assign it's return value to the variable result. Thank You. int cube(int num) { return num*num*num; }

    asked by Anon on November 11, 2010
  49. c++

    how do you pass only part of an Array through a function? I thought it was something like function(Array, 5); but it's not working...

    asked by Mischa on April 2, 2009
  50. c++

    what would the the answer to 55%7 be?

    asked by lyne on January 6, 2009
  51. C++

    #include #include int main ( ) { int choice; cout

    asked by sonnytsn on July 11, 2008
  52. C++

    Can anyone help me with my c++ program? Its a program I have to write using structs and arrays and i'm stuck. If anyone can help can you post back and I'll show you what i've got and maybe you can tell me why its not working correctly. Thanks I can try. I

    asked by Christina on April 4, 2007
  53. C++

    a program to sort three values (from smallest to largest) entered from the keyboard. Algorithm: 1. INPUT a,b and c 2. If a greater than b If a greater than c If b greater than c The order is a, b, c Else The order is a, c, b Else . . . How will i code

    asked by Riana on February 6, 2013
  54. c++

    The first character of a(n)__ must be a letter or an undeerscore(_). a.class b.identifier c.module d.program please explain

    asked by lyne on January 6, 2009