Yahoo Clever wird am 4. Mai 2021 (Eastern Time, Zeitzone US-Ostküste) eingestellt. Ab dem 20. April 2021 (Eastern Time) ist die Website von Yahoo Clever nur noch im reinen Lesemodus verfügbar. Andere Yahoo Produkte oder Dienste oder Ihr Yahoo Account sind von diesen Änderungen nicht betroffen. Auf dieser Hilfeseite finden Sie weitere Informationen zur Einstellung von Yahoo Clever und dazu, wie Sie Ihre Daten herunterladen.
Phil the Yahoo! Answers Master
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 AntwortMathematicsvor 1 JahrzehntWhat 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 AntwortenHomework Helpvor 1 JahrzehntSuggest 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 AntwortenHomework Helpvor 1 JahrzehntC++ 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 AntwortenProgramming & Designvor 1 JahrzehntAdditional 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.
2 AntwortenProgramming & Designvor 1 JahrzehntI 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 AntwortenProgramming & Designvor 1 JahrzehntC++ Help (Recursive Fibonacci Function)?
I don't understand how to create a function that returns the n-th Fibonacci number.
thanks in advance
4 AntwortenProgramming & Designvor 1 Jahrzehntprogram 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 AntwortProgramming & Designvor 1 JahrzehntHow 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 AntwortenProgramming & Designvor 1 JahrzehntC++ 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 AntwortenVideo & Online Gamesvor 1 JahrzehntNeed 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 AntwortenProgramming & Designvor 1 JahrzehntAccording 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 AntwortenSociologyvor 1 JahrzehntHow 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 AntwortenSociologyvor 1 JahrzehntSociology 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 AntwortenSociologyvor 1 JahrzehntNeed 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 AntwortenProgramming & Designvor 1 JahrzehntI 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 AntwortenProgramming & Designvor 1 JahrzehntWhat 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 AntwortenPoliticsvor 1 JahrzehntI 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 AntwortenProgramming & Designvor 1 JahrzehntI 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 AntwortenProgramming & Designvor 1 JahrzehntIn 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 AntwortPhilosophyvor 1 Jahrzehnt