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 617,215 points

Phil the Yahoo! Answers Master

Favorite Answers13%
Answers4,482

YAHOO ANSWERS USER Pokemon Diamond FC: 1633 0992 9430 NASCAR FAN/ VIDEO GAMER Visit My NASCAR Xanger: (plz hover over it to get the full link) www.xanga.com/true_nascar_fan

  • What is (k+1)^4 when you expand it out?

    I know you write (k+1)(k+1)(k+1)(k+1)

    I forgot the trick, please help.

    My initial answer is k^4+4k^3+6k^2+4k+1

    1 AnswerMathematics1 decade ago
  • What is (k+1)^4 when you expand it out?

    I know you write (k+1)(k+1)(k+1)(k+1)

    I forgot the trick, please help.

    My initial answer is k^4+4k^3+6k^2+4k+1

    3 AnswersHomework Help1 decade ago
  • Suggest some essay topics for me?

    I need to write a long essay and I need to find a central thesis on works I've read this semester. Please help.

    Here are the stories I've chosen to right on.

    I need to pick 3 and argue how they respond to American Lit of the 1865-1914 era.

    Plus it has to revolve around a central theme.

    e.g Women, poverty, struggles.

    1.Huck Finn

    2.The Yellow Wallpaper

    3.Brer Rabbit

    4.Ethan Frome

    5.The Awakening

    6.A Room of One's Own

    7.Maggie: A girl of the streets

    4 AnswersHomework Help1 decade ago
  • C++ Help Needed!?

    How can I make it print the last digits in reverse order of input?

    I can't figure it out.

    This is what I have so far:

    #include <iostream>

    using namespace std;

    int main () {

    int n;

    cin >> n;

    while (n<=0 && n>=100) {

    exit(0);

    cout << "Enter a positive number that is as most 100: ";

    cin >> n;

    }

    for (int i=1; i<=n; i++) {

    cout << n;

    n--;

    }

    return 0;

    }

    3 AnswersProgramming & Design1 decade ago
  • Additional help needed?

    I need help in reading in n integers from the user and prints their last digit in reverse order....plz..and thank u in advance.

    #include <iostream>

    using namespace std;

    int main () {

    int n;

    cout << "Enter a positive number that is as most 100: ";

    cin >> n;

    if (n<=0 || n>=100)

    exit(0);

    if (n==1) return 1;

    cout << n<< " ";

    (n-1);

    return 0;

    }

    also if uhave time check this link too...help is greatly appreciated.

    http://answers.yahoo.com/question/index;_ylt=AqMEQ...

    2 AnswersProgramming & Design1 decade ago
  • I need some help creating this program.?

    I need to make it print x squares on top of each other, the first with size 1, size 2, and so on.

    It has to look like this:

    *

    **

    **

    ***

    ***

    ***

    Here's my code so far....keep in mind it s just this part, I have code for other parts for this program I'm creating. Thanks in advance.

    #include <iostream>

    using namespace std;

    int main () {

    int x;

    cout << "Enter a positive integer value: "<<endl;

    cin >> x;

    while (x<=0) cout << "Re-enter the number." <<endl;

    for (int row=1;row<=x; row++) {

    cout << " ";

    cout << endl;

    for (int col=1; col<=3; col++)

    cout <<"*";

    cout<< endl;

    }

    return 0;

    }

    3 AnswersProgramming & Design1 decade ago
  • C++ Help (Recursive Fibonacci Function)?

    I don't understand how to create a function that returns the n-th Fibonacci number.

    thanks in advance

    4 AnswersProgramming & Design1 decade ago
  • program debugging help?

    //hw8 5 functions

    #include <iostream>

    using namespace std;

    int sumOfDigits (int n){

    int sum=sum+n;

    return sum;

    }

    int squared (int n) {

    int answer=n*n;

    return answer;

    }

    int factorial (int n) {

    if (n<0) return 0;

    int factorial=1

    while (n>1) {

    factorial *= n--;

    return factorial;

    }

    int Sn (int n) {

    n=n(n+1)/2;

    return Sn;

    }

    void drawTriangle (int n) {

    for (n=1; n<=x; n++) {

    }

    int main () {

    int n;

    cout << "Enter a number,n: "<<endl;

    cin >> n;

    cout << "The sum of digits of n are: "<<sumofDigits<< endl;

    cout << "The number n squared is: "<<squared<< endl;

    cout << "The number n factorial is : "<<factorial<< endl;

    cout << "The sum of all natural numbers from 1 to n is: "<<Sn<< endl;

    cout << "The triangle will look like this: "<<drawTriangle<< endl;

    return 0;

    1 AnswerProgramming & Design1 decade ago
  • How do can I make an efficient function for my program?

    I need a sumofDigits (int n) function and a SumofNatural Numbers function( int n)

    For the natural numbers function...it needs the sum of all numbers from 1 to n.

    3 AnswersProgramming & Design1 decade ago
  • C++ Program Help?

    //hw8 5 functions

    #include <iostream>

    using namespace std;

    int sumOfDigits(int n){

    int sum=sum+n;

    return sum;

    }

    int squared(int n) {

    int answer=n*n;

    return answer;

    }

    int factorial(int n) {

    if (n<0) return 0;

    int factorial=1

    while (n>1) {

    factorial *= n--;

    return factorial;

    }

    int Sn(int n) {

    int n= sum+n, n++;

    return Sn;

    }

    void drawTriangle(int n) {

    for (n=1; n<=x; n++) {

    }

    int main () {

    int n;

    cout << "Enter a number,n: "<<endl;

    cin >> n;

    cout << "The sum of digits of n are: "<<sumofDigits<< endl;

    cout << "The number n squared is: "<<squared<< endl;

    cout << "The number n factorial is : "<<factorial<< endl;

    cout << "The sum of all natural numbers from 1 to n is: "<<Sn<< endl;

    cout << "The triangle will look like this: "<<drawTriangle<< endl;

    return 0;

    3 AnswersVideo & Online Games1 decade ago
  • Need help with this C++ program.?

    Fill in the blanks in the code below. The program is supposed to

    print a triangle of the following shape:

    *

    **

    ***

    ****

    ***** <-- This example is for height=5

    #include <iostream>

    using namespace std;

    void spaces(int x) {

    for (________________________)

    cout << " ";

    }

    void stars(int x) {

    for (_________________________)

    cout << "*";

    }

    int main() {

    int rows;

    cout << "How many rows? ";

    cin >> rows;

    for (int star = 1; star <= rows; star ++) {

    spaces (____________________);

    stars (_____________________);

    cout << endl;

    }

    }

    4 AnswersProgramming & Design1 decade ago
  • According to Weber, what is most characteristic of the social ethic of capitalist nature? Explain this concept

    I need a better understanding...whoever explains it best will get the best answer.

    2 AnswersSociology1 decade ago
  • How did the Protestant religion embody the "Spirit" capitalism and allow capitalism to flourish?

    This question sounds confusing...can somebody clear up my confusion...thanks in advance.

    =P

    3 AnswersSociology1 decade ago
  • Sociology question. What is meant by elective affinity?How does it relate capitalism and the protestant ethic

    It's confusing...and I would like for some help to explain this concept.

    Thanks in advance. = P

    3 AnswersSociology1 decade ago
  • Need help with this C++ Program?

    //table of factorials

    #include <cmath>

    #include <iostream>

    using namespace std;

    int main () {

    int n;

    cout << "Enter a number: "<<endl;

    cin >> n;

    int factorial;

    {

    return n == 0 ? 1 : n * factorial(n-1);

    }

    return 0;

    }

    5 AnswersProgramming & Design1 decade ago
  • I need help with this program.?

    //table of factorials

    #include <cmath>

    #include <iostream>

    using namespace std;

    int main () {

    int number;

    cout << "Enter a number: "<<endl;

    cin >> number;

    ADD MORE TO THIS PROGRAM!

    }

    return 0;

    }

    4 AnswersProgramming & Design1 decade ago
  • What is the communist solution Karl Marx supports in order to change the existing social conditions?

    I'm learning Marx & Engels in class. This baffles me.

    5 AnswersPolitics1 decade ago
  • I need help with this program for C++?

    //double rectangle of stars

    #include <iostream>

    using namespace std;

    int main () {

    int h,w;

    cout << "Enter a height and a width: "<<endl;

    cin >> h,w;

    for (int row =1; row <=h; row ++) {

    for (int col =0; col <=w; col++) {

    cout <<"*";

    }

    cout <<endl;

    }

    return 0;

    }

    5 AnswersProgramming & Design1 decade ago
  • I need help with this program.?

    //triangle of stars

    #include <iostream>

    using namespace std;

    int main () {

    int h;

    cout << "Enter a height: "<<endl;

    cin >> h;

    for (int row=1; row<=h; row ++) {

    for (int col= 1; col<row; col++) {

    cout << "*";

    cout << endl;

    }

    }

    return 0;

    }

    6 AnswersProgramming & Design1 decade ago
  • In Meditation one in "Mediations on First Philosophy", Descartes rejects the premises in the dream argument?

    Does he reject the premises in it or accepts them? Tell me because Im confused.

    1 AnswerPhilosophy1 decade ago