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.
hello?
C Programming: Loop if-else statement?
Write a C program with a loop that asks user to enter a series of integers in the range of [-100 100]. If user enters a number out of that range, your program shouldn’t consider it, and should ask for a new number. The user should enter 0 to stop the loop. When the loop stops, we want your program to display the largest TWO numbers entered in the range of [-100 100], the smallest TWO numbers entered in the range of [-100 100], the average of negative numbers entered in the range of [-100 100], and the average of positive numbers entered in the range of [-100 100].
For example if user enters -2, then 3, then -4, then -200, then 5, then -3, then 120, then 0
Your program should stop and print:
Two largest numbers are : 5 3
Two smallest numbers are : -4 -3
Average of negative values is -3
Average of positive values is 4
This is all that I can start with:
#include <stdio.h>
int main()
{
int a, b, UserInput,
printf( "Enter an integer between -100 and 100, entering a 0 will quit the program" );
scanf(
break==0;
if ( UserInput < -100 || UserInput > 100)
printf ( "You input was out of the allowed range.");
return 0;
}
2 AnswersProgramming & Design1 decade agoCalculus II Question! Surface Area! Revolving around an axis.?
1. Find the area of the surface generated by revolving y = (sqrt)(2x-x^2), x = [0,1]
a. About the x axis
b. About the y-axis
This problem is from the section about surface area revolving around an axis.
I actually did the problem but im not sure on my answer.
For around the x axis I got an answer of 2pi. The integral that I set up was integrating 2pi as a constant and then dx from 0 to 1.
For the b part I got the integral of 2pi as a constant and then integrating x / (sqrt)(2x-x^2)
Please see if this is correct, if not please explain to me how it should be done.
Thank you!
2 AnswersMathematics1 decade agoCalculus II Question! Work and Fluid Force problem! HELP!?
I worked out these two problems and got an answer but was not sure about the answer...
If you could just check it and if it is not write tell me what I did wrong or give me a step by step, it would be greatly appreciated.
1. A tank is formed by revolving y = 3x^2, x = [0,2] around the y axis is filled to the 4 feet point with water (w = 62.4 lb/ft^3). Find the work necessary to pump the water out of the tank over the top.
I got the integral being from a = 0 and b = 4 and integrating [12y^(1/2) - y^(3/2)]dy with w and pi as constants outside of the integral.
Would this be correct?
2. A plate shaped as in the figure [question 2.jpg is attached] is submerged vertically in a fluid as indicted. Find the fluid force on the plate if the fluid has weight density 62.4 lb/ft^3
The integral I set up was the limits being -5 to -1 and the integral being (5-y)(-7/4y - 7/4) dy.
Which is integrated out with the limits it comes out to be 665/6, and I was wondering if it was correct or not [the way I did it]
Thank you.
Please help!
2 AnswersMathematics1 decade agoPhysics! PLEASE HELP! Pendulum and Simple Harmonic Motion!?
physics! i dont understand any of this! little help please?
pendulum and simple harmonic motion problems!
1. Determine the value of the acceleration due to gravity on planet X if a pendulum having a length of 30.0 cm has a frequency of .70 hz on that planet?
2. Find the period of motion for a 200 gram mass vibrating on a spring having a spring constant of 4.0 n/m?
3. When a mass of 35.0 grams is attached to a certain spring, it makes 20 complete vibrations in 4.80 seconds. What is the spring constant for this spring?
thats all! please help! even helping on 1 problem will do something!
THANK YOU IN ADVANCE!!
:] btw ill pick BA
equations: SHM: T=2pi sqr(m/k)
THANKS
2 AnswersPhysics1 decade agoWhat computer should I get? HELP!?
Which computer should I get? I picked two that I like, but I dont know if I should get the AMD or Intel? And why?
Heres the website:
http://www.bestbuy.com/site/olspage.jsp?id=cat1350...
Thanks!! :]
8 AnswersLaptops & Notebooks1 decade agoMAJOR MATH HELP! QUICK!?
Ok, I need major math help (Pre-Cal)
Use the given zero to final all remaining zeros:
1. F(X)=2X^3 - 15X^2 + 27X - 10 ZERO = 1/2
2. H(X)=X^4 - 3X^3 + 6X^2 + 2X - 60 ZERO= 1+3i
Use Synthetic division to find each function value:
G(X) = 6X^3 - 4X^2 + 3X + 2
A) g(-1)
B) g(2/3)
LAST ONE : Solve the inequality and write answer in interval notation.
1/X (Greater than or equal to sign) 1/X+3
THANK YOU SO MUCH IN ADVANCE!
3 AnswersMathematics1 decade agoEssayyy help!!!!!!!!!!?
im doing a essay, and im not asking yall to write my essay or anything. im just asking how would i start this, and what would there be to talk about?
prompt:
Please describe how you plan to help fulfill the needs of your community after you’ve completed your education.
thankss in advancee!
3 AnswersHomework Help1 decade agoPHYSICS HOMEWORK HELP!?
Im trying to work out some of these physics problems, but im not understanding what to do. Can someone help me out a bit?
A. What force is needed to stop a 900KG object in 5.0 seconds if it is initially traveling 72 km/hr?
B. A Piano has a mass of 1000 kg. Adam is seen exerting a horizontal northward force of 20 Non a piano and the piano continues moving horizontally at a constant velocty of 3 m/s northward. Find the net force acting on the piano?
Thank you in advance!!
1 AnswerMathematics1 decade agowhat religion cannot test on saturday?
im just curious, because i was registrating for the ACT, and it says religions that are not allowed to test on saturday click here.
so im just wondering.
:]
6 AnswersReligion & Spirituality1 decade agoThe Araby : By James Joyce question...?
This question is regarding the short story The Araby: By James Joyce
I just finsihed reading it...and i have some questions
1. why did joyce not mention the name of magnan's sister? or the name of the boy in the entire story?
2. What does Araby represent to the boy?
3. What was the purpose of the story?
this is just some questions that came to my head.
please help. its really confusing.
=] thanks in advance!
1 AnswerBooks & Authors1 decade agoCollege entrance essay help! (10 pts for best answer =])?
hey everyyone, so im a senior this year in hs. and im want to get into UT austin or A&M college station (in tx). and writing essays my weak spot. so im just wondering if yall would edit it? or give me some pointers?
TOPIC: Choose an issue of importance to you—the issue could be personal, school related, local, political, or international in scope—and write an essay in which you explain the significance of that issue to yourself, your family, your community, or your generation
heres the essayy:
The issue of immigration is of great importance to me as I am a child of immigrants. My parents left India in 1985, coming to America for a better life and a more peaceful environment in which to raise their family. In India, they lived in endless fear and hardship, a great deal of it brought on by terrorists. Bomb threats and even bomb blasts on the trains and in major metropolitan cities was a constant worry, and it continues today.
I recognize the hardships my parents faced in their homeland, and I know how difficult it was for them to leave friends and family and change their lives completely in order to move to the United States. But not a day goes by that I am not grateful they made this decision. I know how lucky I am to have been born and raised in America and not have to face the oppression and hardship of many living in other countries of the world. Immigration has changed the lives of many people in this country. Countless amounts of people have left their home countries in seek for an improved lifestyle and a healthier environment. This decision not only affects them, but also their children and their family. For example, when my parents emigrated from India to the US, I was affected by their move because when I was born, it was in a nonviolent and diplomatic environment. Therefore, this same process will repeat it its course again when I get married and have children, they will also be born in the same environment I was born in.
In America there are freedoms such as the freedom of speech that entitles the American people to express their opinion about what they feel is right. In contrast in India, expressing opinions against the government would result in imprisonment or even execution. We also enjoy equal opportunity here in the United States, as both men and women can get an education, and have a decent profession. As for in India, only a mere amount of states recognize the equal opportunity environment. Such as, schools in the smaller states of India do not provide education to both boys and girls in the same environment. The all girls’ school has a totally different atmosphere compared to the boys’ school. The girls’ school does not have the basic necessities to run a school such as a lack of teachers, and classrooms. For instance, my mother told me a story about her childhood in school and while she was in high school, and how her school did not provide a math class, only because it was an all girls’ school. As a US citizen I enjoyed being in a decent learning environment, and having the equal opportunity environment. Most people do not realize how fortunate they are to live here in the United States; they have not seen nor experienced the troubles that students in other countries face.
As a student now entering college, I am extremely grateful to live here in the United States and to be part of this excellent education system that the American government offers. Even though the educational system in American is starting to plunge, it is a lot better than some of the other countries. When I talk to my parents about entering college, they always tell me how happy they are to see their American born Indian son going to college and become something in life. The how if they had not made the choice to come to the United States, I would still be in India and not even thinking about going to college and making something of myself.
THANKSS! IN ADVANCE!
3 AnswersHigher Education (University +)1 decade agocollege entrance essay help! (will pick best answer =]) ?
hey everyyone, so im a senior this year in hs. and im want to get into UT austin or A&M college station (in tx). and writing essays my weak spot. so im just wondering if yall would edit it? or give me some pointers?
=]
heres the topic:
Write an essay in which you tell us about someone who has made an impact on your life and explain how and why this person is important to you.
and heres the essay:
Throughout my life, I have met hundreds of people. However, only a special few have had the ability to make an impact that lasts a lifetime. There are two women in particular who have influenced my life and helped make me what I am today. They were there to lend a hand when I needed it most.
The first woman to greatly affect my life is my grandmother. From my birth through age seven, she raised me like I was her own son. When she passed away in my seventh year, my mother stepped in to see me through the joys and sorrows that are a natural part of life.
I have nothing but respect and admiration for both of these wonderful women. They both taught me responsibility, honesty, and accountability in life. As I grow into adulthood, I hope to be a good role model for someone in the same way these two women have influenced me.
From my birth through the age of seven, my grandmother raised me as if I was her own son. She taught me all the essentials in life, essentials that most people agree should be taught at a young age. These basics include honesty and integrity which have been with me throughout my life so far, and will be with me in my future as well. Teaching honesty and integrity to a young child is not a walk in the park, the child most understand the difference between the truth and a lie. My grandmother did just that, because for the child to understand the teacher cannot be too harsh on the child. For example, as a child if I broke a vase in the house and I knew I would get in trouble I would most likely tell a lie to get out of it, but if I knew I would not get grounded for it I would tell the truth and say I broke the vase. This is the way to teach honesty and integrity to a child and my grandmother did just that, and I can never forget what she has done for me. This woman influenced my young life immensely and steered my life in the right direction. The seven years I was under the care of my grandmother were the finest years of my life.
Unfortunately, days after my seventh birthday, my grandmother passed away, and from that day on, my mother has stepped into my life and has had an even greater impact than my grandmother. She has made a vital change in my life by teaching me the values and ideals that hold special to us as human beings. She trained me to understand and create my own personal values, personal values which develop from situations and affairs in the outside world. Similar to teaching a child honesty and integrity, it is ever more difficult to make a teenager understand values and how to use them. For example, a normal teenager keeps an eye on their parent’s actions and statements, and from these actions the teenager is influenced greatly. In my early teenage years, my mother had to be extremely careful with all her actions to make sure that I would not be influenced by her actions. From the teachings of my mother’s principles I was able to construct my own individual values and gain the ability to know when to apply these values. For example, applying religious values in times of happiness and despair, and relating to cultural values in times of interacting with society and groups. Honesty, Integrity, and good values are everything a child would want, but to get it you need people who will influence your life forever. I had my grandmother from birth till age seven, then my mother. Both these women influenced my life immensely, and I hope you had someone like this too.
THANKS ALOTT .=]
2 AnswersHigher Education (University +)1 decade agoany sites? will pick best answer to first good answer!?
any sites for submitting your essay and getting positive feedback with comments and criticism?
thanks in advance!
3 AnswersPrimary & Secondary Education1 decade agoEssay help! Help! =]?
im writing a admission essay to UT (Austin) I am going to be a senior in HS this coming year.
Heres the prompt:
Choose an issue of importance to you—the issue could be personal, school related, local, political, or international in scope—and write an essay in which you explain the significance of that issue to yourself, your family, your community, or your generation.
I really would like to add a little more to my essay and then close it off. but i dont know what to write about now.
My topic is : Immigration
Heres my essay: (Some might follow in the additional details portion)
Tell me what you guys think! and thanks in advance!
The issue of immigration is of great importance to me as I am a child of immigrants. My parents left India in 1985, coming to America for a better life and a more peaceful environment in which to raise their family. In India, they lived in endless fear and hardship, a great deal of it brought on by terrorists. Bomb threats and even bomb blasts on the trains and in major metropolitan cities was a constant worry, and it continues today.
I recognize the hardships my parents faced in their homeland, and I know how difficult it was for them to leave friends and family and change their lives completely in order to move to the United States. But not a day goes by that I am not grateful they made this decision. I know how lucky I am to have been born and raised in America and not have to face the oppression and hardship of many living in other countries of the world. As Americans we have freedoms such as freedom of speech, where we are entitled to say what we feel is right. In India if you were to express your opinion against the government, you would face imprisonment and execution. We also enjoy equal opportunity here in the United States, as both men and women can get an education, and have a decent profession. As for in India, only a mere amount of states recognize the concept of equal opportunity. For example, schools in the smaller states of India do not provide education to both boys and girls in the same environment. The all girls’ school has a totally different atmosphere compared to the boys’ school. The girls’ school does not have the basic necessities to run a school such as a lack of teachers, and classrooms. As a US citizen I enjoyed being in a decent learning environment, and having the equal opportunity model. Most people do not realize how fortunate they are to live here in the United States; they have not seen nor experienced the troubles that students in other countries face. Immigration has changed the lives of many people in this country. Countless amounts of people have left their home countries in seek for an improved lifestyle and a healthier environment. This decision not only affects them, but also their children and their family. For example, when my parents moved from India to the United States even though I was not born at that time, I was affected by the immigration. Only because when I was born, it was in a nonviolent and diplomatic environment. Therefore, this same process will repeat it its course again when I get married and have kids, they will also be born in the same environment I was born in.
2 AnswersPrimary & Secondary Education1 decade agoidk what im doing. but need help with a essay =]?
im writing a admission essay to UT (Austin) I am going to be a senior in HS this coming year.
Heres the prompt:
Choose an issue of importance to you—the issue could be personal, school related, local, political, or international in scope—and write an essay in which you explain the significance of that issue to yourself, your family, your community, or your generation.
I really would like to add a little more to my essay and then close it off. but i dont know what to write about now.
My topic is : Immigration
Heres my essay: (Some might follow in the additional details portion)
Tell me what you guys think! and thanks in advance!
The issue of immigration is of great importance to me as I am a child of immigrants. My parents left India in 1985, coming to America for a better life and a more peaceful environment in which to raise their family. In India, they lived in endless fear and hardship, a great deal of it brought on by terrorists. Bomb threats and even bomb blasts on the trains and in major metropolitan cities was a constant worry, and it continues today.
I recognize the hardships my parents faced in their homeland, and I know how difficult it was for them to leave friends and family and change their lives completely in order to move to the United States. But not a day goes by that I am not grateful they made this decision. I know how lucky I am to have been born and raised in America and not have to face the oppression and hardship of many living in other countries of the world. As Americans we have freedoms such as freedom of speech, where we are entitled to say what we feel is right. In India if you were to express your opinion against the government, you would face imprisonment and execution. We also enjoy equal opportunity here in the United States, as both men and women can get an education, and have a decent profession. As for in India, only a mere amount of states recognize the concept of equal opportunity. For example, schools in the smaller states of India do not provide education to both boys and girls in the same environment. The all girls’ school has a totally different atmosphere compared to the boys’ school. The girls’ school does not have the basic necessities to run a school such as a lack of teachers, and classrooms. As a US citizen I enjoyed being in a decent learning environment, and having the equal opportunity model. Most people do not realize how fortunate they are to live here in the United States; they have not seen nor experienced the troubles that students in other countries face. Immigration has changed the lives of many people in this country. Countless amounts of people have left their home countries in seek for an improved lifestyle and a healthier environment. This decision not only affects them, but also their children and their family. For example, when my parents moved from India to the United States even though I was not born at that time, I was affected by the immigration. Only because when I was born, it was in a nonviolent and diplomatic environment. Therefore, this same process will repeat it its course again when I get married and have kids, they will also be born in the same environment I was born in.
3 AnswersHomework Help1 decade agoESSAY HELP! ...so hard =[
Ok, so I'm applying to UT (Austin) and i finished my first admission essay, and I'm stuck on the second one.
heres the prompt:
Choose an issue of importance to you—the issue could be personal, school related, local, political, or international in scope—and write an essay in which you explain the significance of that issue to yourself, your family, your community, or your generation.
I just dont know what to write about....
i kinda have a start going. but i dont understand at all. PLEASE HELP!!
"my start" :
India, it has been no more than a few years that it has been in the spotlight of America’s eyes. But for me, India has been prominent in my life. Both my mother and father born in India, and immigrating to America for an improved lifestyle and a peaceful environment in 1985.
PLEASE HELP. AND THANKS IN ADVANCE! (any questions...ask me) =]
5 AnswersHomework Help1 decade agoWrite an essay in which you tell us about someone who has made an impact on your life and explain how and why?
im writing a college entrance essay to UT...and im really scared cuz my writing isnt all that great.
and im not done with this essay yet, but if yall would just tell me if its good or not and if i need to make some corrections and if im on the right path with it or not. =] lol
heres the prompt:
Write an essay in which you tell us about someone who has made an impact on your life and explain how and why?
iknow i dont have a great thesis so if someone could help me with that too i would appriciate it. heres half the essay and the other half ill put in as a detail:
Throughout my life, I have met hundreds of people. However, only a special few have had the ability to make an impact that lasts a lifetime. There are two women in particular who have influenced my life and helped make me what I am today. They were there to lend a hand when I needed it most.
The first woman to greatly impact my life is my Grandmother.
4 AnswersHomework Help1 decade agoreally simple question! help!?
ok im doing a college entrance essay..and the prompt is
Write an essay in which you tell us about someone who has made an impact on your life and explain how and why this person is important to you.
and iknow it says "someone" but i have 2 people who have made a impact on my life...can i use both? or should i just stick to one?
im so confused!
help!
4 AnswersHomework Help1 decade agoHELP! ...its not that hard. =] (10 points for BA)?
Im writing a college entrance essay..and this sentence doesnt make sense....
help me revise it please.. =]
Essentials such as honesty, and integrity which have carried with me throughout my life so far, and will be with me in my future as well.
heres the whole paragraph (so far):
From my birth through age seven, my Grandmother raised me as if I was her own son, and taught me all the basic essentials in life. Essentials such as honesty, and integrity which have carried with me throughout my life so far, and will be with me in my future as well.
thanksss! =]
5 AnswersHomework Help1 decade ago