Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Lv 31,692 points

kurtztx

Favorite Answers9%
Answers483
  • Job Search?

    I need a new weekend job that pays $11.50 per hr and good benefits, please list any suggestions for dallas area

  • How to integrate this integral?

    its the integral of x^(-2) * e^(-x^2) * dx

    1 AnswerMathematics7 years ago
  • Please answer this c++ static question!?

    This program won't compile correctly

    // Bell.h file

    #ifndef BELL_H

    #define BELL_H

    class Bell

    {

    private:

    int count1;

    static int count2;

    public:

    Bell()

    { count1 = 0; }

    void ring(int);

    int getCount() const

    { return count1; }

    static int getStaticCount() const

    { return count2; }

    };

    #endif

    //specification of ring function and main function (Bell.cpp)

    #include <iostream>

    #include "Bell.h"

    using namespace std;

    void Bell::ring(int num_rings)

    {

    for (int index = 0; index < num_rings; index++)

    {

    cout << "ring ";

    count1++;

    count2++;

    }

    }

    int main()

    {

    const int NUM_RINGS1 = 3, NUM_RINGS2 = 4;

    Bell bell1, bell2;

    bell1.ring(NUM_RINGS1);

    bell2.ring(NUM_RINGS2);

    cout << "Count for first bell: " << bell1.getCount();

    cout << "Count for second bell: " << bell2.getCount();

    cout << "Static Counter: " << bell1.getStaticCount();

    system("pause");

    return 0;

    }

    Basically bell1 should ring 3 times and bell2 should ring 4 times

    and should print out the count for each bell and the static counter,

    which is the same for both.

    Please help me? I'm not so good with programming

    1 AnswerProgramming & Design7 years ago
  • c++ static class?

    This program won't compile correctly

    // Bell.h file

    #ifndef BELL_H

    #define BELL_H

    class Bell

    {

    private:

    int count1;

    static int count2;

    public:

    Bell()

    { count1 = 0; }

    void ring(int);

    int getCount() const

    { return count1; }

    static int getStaticCount() const

    { return count2; }

    };

    #endif

    //specification of ring function and main function (Bell.cpp)

    #include <iostream>

    #include "Bell.h"

    using namespace std;

    void Bell::ring(int num_rings)

    {

    for (int index = 0; index < num_rings; index++)

    {

    cout << "ring ";

    count1++;

    count2++;

    }

    }

    int main()

    {

    const int NUM_RINGS1 = 3, NUM_RINGS2 = 4;

    Bell bell1, bell2;

    bell1.ring(NUM_RINGS1);

    bell2.ring(NUM_RINGS2);

    cout << "Count for first bell: " << bell1.getCount();

    cout << "Count for second bell: " << bell2.getCount();

    cout << "Static Counter: " << bell1.getStaticCount();

    system("pause");

    return 0;

    }

    Basically bell1 should ring 3 times and bell2 should ring 4 times

    and should print out the count for each bell and the static counter,

    which is the same for both.

    Please help me? I'm not so good with programming

    1 AnswerProgramming & Design7 years ago
  • c++ whats wrong with this program?

    #include <iostream>

    #include <iomanip>

    #include <cmath>

    using namespace std;

    struct Point

    {

    int x;

    int y;

    };

    struct Triangle

    {

    Point pointA;

    Point pointB;

    Point pointC;

    };

    double distance(Point, Point);

    int main()

    {

    const int NUM_TRIANGLES = 3;

    Triangle members[NUM_TRIANGLES];

    for (int index = 0; index < NUM_TRIANGLES; index++)

    {

    cout << "Enter x and y coordinates for point A in triangle " << (index + 1) << ": ";

    cin >> members[index].pointA.x >> members[index].pointA.y;

    cout << "Enter x and y coordinates for point B in triangle " << (index + 1) << ": ";

    cin >> members[index].pointB.x >> members[index].pointB.y;

    cout << "Enter x and y coordinates for point C in triangle " << (index + 1) << ": ";

    cin >> members[index].pointC.x >> members[index].pointC.y;

    }

    for (int index = 0; index < NUM_TRIANGLES; index++)

    {

    double A = distance(members[index].pointA, members[index].pointB);

    double B = distance(members[index].pointB, members[index].pointC);

    double C = distance(members[index].pointC, members[index].pointA);

    double perimeter = A + B + C;

    cout << "Perimeter of Triangle " << (index + 1) << ": ";

    cout << fixed << showpoint << setprecision(2) << perimeter;

    cout << endl;

    }

    system("pause");

    return 0;

    }

    double distance(Point point1, Point point2)

    {

    double x_diff = point2.x - point1.

    double y_diff = point2.y

    double side = sqrt(pow(x_diff, 2.0) + pow(y_diff, 2.0));

    return side;

    }

    4 AnswersProgramming & Design7 years ago
  • c++ help? won't compile correctly?

    It won't compile correctly

    Its supposed to ask the user for a four digit code with two uppercase letters as its first two digits and the next two must be a sum of 10 or less.

    // Assignment 4 problem 1

    // Programmed by: Jonathan Kurtz

    #include <iostream>

    using namespace std;

    char *getEmployeeID(char [], int);

    int main()

    {

    const int SIZE = 5;

    char employee[SIZE];

    getEmployeeID(employee, SIZE);

    for (int i = 0; i < SIZE; i++)

    cout << employee[i];

    cout << endl;

    system("pause");

    return 0;

    }

    char *getEmployeeID(char arr[], int size)

    {

    char *pointer;

    pointer = arr;

    bool status = true;

    do

    {

    cout << "Enter a valid employee ID: ";

    cin.getline(arr, size);

    for (int count = 0; count < 2; count++)

    {

    if (!isupper(arr[count]))

    status = false;

    else

    status = true;

    }

    int numb1 = arr[2] - '0';

    int numb2 = arr[3] - '0';

    int numb3 = numb1 + numb2;

    if (numb3 > 10)

    status = false;

    else

    status = true;

    } while (status != tue);

    return pointer;

    }

    1 AnswerProgramming & Design7 years ago
  • Another hard math question?

    I'm sorry I'm soo bad at this

    find all possible values for real numbers x and y

    |x + iy| = y - ix

    so i squared both sides

    |x + iy|^2 = (y - ix)^2

    (x + iy)(x - iy) = (y - ix)(y - ix)

    x^2 + y^2 = y^2 - 2ixy - x^2

    2x^2 = -2ixy

    x = -iy

    is that it?? help...

    2 AnswersMathematics7 years ago
  • Hard math question?

    Find all possible values of real numbers x and y

    x + iy = 3i - ix

    I don't get it cause 3i and ix are both imaginary

    HELP!?!?

    and please show all steps.. thanks

    2 AnswersMathematics7 years ago
  • C++ help? prints sum of first and last numbers, second and next to last numbers and so on?

    Write a program that creates an array with these numbers:{ 28, 72, 33, 67, 90, 10, 16, 84, 45, 55 }.Then print the sum of the first and last numbers, then the sum of the next pair (second and next-to-last), continuing until the sum of the middle two numbers is printed.

    Here's my program:

    #include <iostream>

    using namespace std;

    int main ()

    {

    const int SIZE = 10;

    int i = 0, j = (SIZE - 1);

    int numbers[SIZE] = {28, 72, 33, 67, 90, 10, 16, 84, 45, 55};

    while (i < j)

    {

    cout << (numbers[i] + numbers[j]) << endl;

    i++;

    j--;

    }

    system("pause");

    return 0;

    }

    Whats wrong?

    3 AnswersProgramming & Design7 years ago
  • Engineering classes and colleges?

    what classes do you have to take for engineering? and what colleges in texas other than ut @ austin or a&m offer good engineering programs?

  • Texas A&M applications?

    I really want to get into a&m but i doubt i have the good grades (3.6 or higher). what sat/act scores do you have to make in order to get in usually? i know the deadline already passed, but im only a junior so i cant technically apply now.

  • pictures of bhutan?????????

    can anyone post websites of bhutan pics? has to show economy, environment, and another topic

    Thank you!!!!!

    3 AnswersOther - Asia Pacific1 decade ago
  • What is the most interesting Asian country?

    any country in southwest, south, east, southeast, oceania, australia, or new zealand (not russia)

    11 AnswersOther - Cultures & Groups1 decade ago
  • gross question, but what disease is blue waffle?

    IF YOU HAVENT GONE TO BLUEWAFFLE.NET THEN DONT ANSWER

    and im looking for the actual name of disease, and thank you

    4 AnswersSkin Conditions1 decade ago
  • what channel is g4tv on?

    I have dish network and plz give me a reasonable answer if you have it, thanx and ily all

    2 AnswersMedia & Journalism1 decade ago
  • e3 2009 question?????????

    idk when e3 is on and what channel it is on. yes i know im such a gamer but anyways can you plz inform m? thanx :]

    2 AnswersVideo & Online Games1 decade ago
  • does she hate me, please answer my q!!!?

    ok so i like this girl at school and idk if she likes me or not but in school we dont have any classes together or never talk because of my nerves. if dhe was the only person i knew in the clas then yes i would talk to her. however we talk on facebook a lot and i just wrote on her wall at like 7 30 in the morning wondering what was up and never replied. she liked me when she said lik helloo to me and i just blush at her presence. does she like me or not please help

    PLEASE :D

    2 AnswersSingles & Dating1 decade ago
  • please help me on xbox live, i need ANYTHING!!!?

    okay so on xbox live, i was really stupid and gave someone who i didnt know my email account and password and now for today and yesterday i couldnt get on. i tried recovering my gamertag and it won't work and i tried making a new password but still didn't work. i cant buy another c=account till next january though thatll suck. please i am really crying here and i need anything. and please dont leave a random answer thank you and goodbye

    3 AnswersXbox1 decade ago