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.

Travis
I want to be a computer developer, but the only thing is that I'm not too good at coding.?
I am a college student and I was having this problem, I want to be a computer/software developer but I am not too good from the coding aspect. I understand the concepts to a down to a core. i can even read code and decipher what it is being done. But when it is time for "me" to code, I have moments when I just stare at the screen for long periods of time. How can I get better at coding?? I read books on algorithms and things of that nature, in my spare time but I don't know how to apply it. Please help me, if you are a professional programmer lend me some advice. I am open to all suggestions. This is what I truly want to do, and I am willing to dedicate whatever I can to learning, I just need some guidance.
Thanks.
2 AnswersComputer Networking8 years agoHow can I modifiy my c++ program to show a word inputted by a user backwards using a stack?
I want to assign a pointer to every character the user inputs, then in doing so I probably can use a loop to store the characters and a second loop rearrange the stack order using the pointers. But I don't know how to write that in a program form. Heres what I have so far:
-----------------------------------------------------------------------------------------
#include<iostream>
using namespace std;
class Stack{
public:
enum {MaxStack = 50};
void init() {top = -1;}
void push( char n ){
if ( isFull() ) {
cerr << "Full Stack. DON'T PUSH\n";
return;
}
else {
arr[ ++top ] = n;
cout << "Just pushed " << n << endl;
return;}
}
int pop() {
if (isEmpty() ) {
cerr << "\tEmpty Stack. Don't Pop\n\n";
return 1;
}
else
return arr[top--];
}
bool isEmpty() {return top < 0 ? 1 : 0;}
bool isFull() {return top >= MaxStack -1 ? top : 0;}
void dump_stack() {
cout << "The Stack contents, from top to bottom, from a stack dump are: " << endl;
for (int i = top; i >= 0; i--)
cout << "\t\t" << arr[i] << endl;
}
private:
int top;
int arr[MaxStack];
};
int main()
{ int i = &enum {MaxStack = 50};
char* pString = strArray;
Stack a_stack;
cout<<"Please enter a word"<<endl;
a_stack.init();
cin>>word;
for (int i; i < strArray; i--, pString--)
cout <<
a_stack.push();
a_stack.dump_stack();
return 0;
}
2 AnswersProgramming & Design9 years agoIf you paint the upper leather part of air jordans, do you have to strip the paint with acetone, beforehand?
I know when you paint the midsole you have to strip the paint with acetone, but the upper part and the midsole are different material, so I am curious if you should treat the upper part the same as the midsole.
1 AnswerFashion & Accessories9 years agoCan I sue my parent for refusing to pay my college tuition?
My parent stopped paying my tuition for 2 months now, and as of now they have no intentions on paying it anymore. They also refuse to give me their W-2 form, which is keeping me from getting financial aid. And according to the law, you need to be 26 years old to be considered independent to get financial aid without your parent's consent. Or I would need my parent to sign a document emancipating me, thusly making me independent. So what are my options?
6 AnswersFinancial Aid9 years agoWhat are the average velocities in this problem? And the average speed?
An athlete swims the length L of a pool in a time t1 and makes the return trip to the starting poisition in a time t2.
a) If she is swimming initially in the positive x-direction, determine her average velocities symbolically in (a) the first half of the swim, (b) the second half of the swim, and (c) the round trip. (Use any variable or symbol stated above as necessary.)
first half:
second half:
round trip:
(b) What is her average speed for the round trip?
average speed of round trip:
1 AnswerPhysics9 years agoWhat is the constant speed with which the car moved during the second distance d?
A car travels along a straight line at a constant speed of 47.5 mi/h for a distance d and then another distance d in the same direction at another constant speed. The average velocity for the entire trip is 32.0 mi/h.
a) What is the constant speed with which the car moved during the second distance d?
b) Suppose the second distance d were traveled in the opposite direction; you forgot something and had to return home at the same constant speed as found in part (a). What is the average velocity for this trip?
c) What is the average speed for this new trip?
2 AnswersPhysics9 years agoWhat stores sells the Holy Koran in the Queens, NY area, preferably in or close by Jamaica.?
I want do not want to travel all the way to Forest Hills, Astoria, Corona, etc. I want to know a place within the Jamaica area, that I can pick up a copy. It doesn't have to be an exclusive version, a simple and plain one will do.
2 AnswersReligion & Spirituality9 years agoCan someone fix my program, so it can show the largest amount of mcnuggets that "cannot" be purchased?
I wrote this program, but instead of showing the largest possible amount of mcnuggets out of a 6, 9, and 20 pack that cannot be purchased, it shows the all the possible amounts that can be purchased out 150. So can someone fix my program. I know the largest number that cannot be purchased is 43. But I need my program to show this number only, instead of a list of numbers. Thank You
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
int a, b, c, n;
int buy = 6*a+9*b+20*c;
for (n=0; n<150; ++n)
{ for (a=0; a<150; ++a)
{
for (b=0; b<150; ++b)
{
for (c=0; c<150; ++c){
buy=6*a+9*b+20*c;
if (buy==n){
cout<<"You can buy "<<buy<<endl;
break;
}
}//for c
if (buy==n){
break;
}
}//for b
if (buy==n){
break;
}
}//for a
}//for n
system("PAUSE");
return EXIT_SUCCESS;
}
1 AnswerProgramming & Design9 years agoCan someone fix my C++ program, so it can show "all" possible combinations of mcnuggets that can be purchased?
Hi, Im taking an intro to C++ class and I have a project that computes the possible combinations of 6, 9 and 20 piece mcnugget packs that can add up to a total of 50, 51, 52, 53, 54 and 55 mcnuggets.
The code (below) only computes one possible combination for 50-55....
Does anybody have an idea how to calculate all the possible combinations? If so, that would really help! Thank you.
#include <cstdlib>
#include <iostream>
using namespace std;
const int SIX = 6;
const int NINE = 9;
const int TWENTY = 20;
int main(int argc, char *argv[])
{
int packofsix = 0, packofnine = 0, packoftwenty = 0, nuggets = 0, calc_nuggets = 0;
for (nuggets = 50; nuggets < 56; nuggets ++)
{
calc_nuggets = nuggets;
do
{
calc_nuggets = calc_nuggets - SIX;
packofsix ++;
for (packofnine = 0; (calc_nuggets % NINE == 0 || calc_nuggets % NINE == 2 || calc_nuggets % NINE == 4) && calc_nuggets > 0; packofnine ++)
{
if (calc_nuggets % TWENTY == 0)
break;
calc_nuggets = calc_nuggets - NINE;
}
for (packoftwenty = 0; calc_nuggets % TWENTY == 0 && calc_nuggets > 0; packoftwenty ++)
calc_nuggets = calc_nuggets - TWENTY;
}while (calc_nuggets != 0);
cout << "For " << nuggets << " nuggets you need:" << endl
<< packofsix << " package(s) of 6 piece nuggets " <<endl
<< packofnine << " package(s) of 9 piece nuggets " <<endl
<< packoftwenty << " package(s) of 20 piece nuggets." << endl << endl;
packofsix = 0;
packofnine = 0;
packoftwenty = 0;
}
system("PAUSE");
return EXIT_SUCCESS;
1 AnswerProgramming & Design9 years agoHow to shrink clothes in the washing machine?
I have the only hot function on my washing machine is "hot/cold", which means it's starts off in hot water but rinses in cold water. And I also do not have a dryer, so I have to hang my clothes. So is there any way to shrink them considering these circumstances?
2 AnswersCleaning & Laundry9 years agoDo you need a certain license to attend a seized car auction, or is it open to the public?
I heard that only people such as mechanics and dealers are allowed to attend. Also, I heard that you are not allowed to look under the hood, or hear it to see if it runs good. Also, I heard that you cannot have a mechanic inspect the car. Is it possible to get a good car there for cheap, or are they all lemons? I would like to get a year 2004+ car, for about $4,000, would that be possible? And are there auctions, that you can inspect the car before buying it?
4 AnswersBuying & Selling10 years agoWhat if you receive a package sent to your P.O. Box, but it is bigger than the size of your P.O. Box?
What will USPS do with the package? Will you still receive it, or will they ship it back since it can't fit? Will you have to pay extra money for that one package? What is the process behind this? Because I am thinking about opening a P.O. Box, but it is more so to receive packages or items online, than mail.
3 AnswersNew York City10 years agoHow much does it cost to fix a radiator leak? That's very bad?
I was driving and I noticed that under my hood was smokey, so I checked and seen that there was green radiator fluid all over the side of my radiator fan. And I saw that I left a trail of fluid as I was driving. So will I be better off buying a new radiator, instead of paying for the cost of fixing? Or could it be a matter of an easy fix, like sealing the hose so it wont leak? Or replacing the hose? I would like to know the cost and what needs to be done, before I take it anywhere.
8 AnswersMaintenance & Repairs10 years agoMy cat is jumping on my kitchen table, eating the food on the table. How to stop it from doing this?
The cat is jumping up on not only my kitchen table, but my dresser, chairs, and couch. Is this due to not being neutered? Or is this normal behavior for cats? Is there a way to stop this behavior? Do I have to take the cat to a veterinarian or can I myself train him a certain way to stop this behavior?
10 AnswersCats10 years agoCan a mechanic shop sell your car, if it has been there over 2 months?
Would they have to get the owner's consent and sign over the title to the shop before doing so? And would they have to go through the DMV to say the have ownership of the car? Or can they junk the car without the owner's consent?
5 AnswersMaintenance & Repairs10 years agoWhere can I get my cat neutered for free/low cost in the NYC area?
Can you also provide a telephone number to reach the place, so I can find their locations? And also how much did they charge?
4 AnswersCats10 years agoHow much does it cost to replace the crank sensor on a 1997 mitisubishi galant?
Like an estimate or so, because this mechanic charged me $450 , because he said he had to tilt my engine to get to the sensor. But other mechanics said the job including the sensor should cost no more than about $150.
1 AnswerMaintenance & Repairs10 years agoIs there a way to get into the Bronx, NY from Queens, NY without paying any tolls?
Some people say that you have to pay tolls to get into the Bronx, but I doubt it. So does anybody have any suggestions?
11 AnswersNew York City10 years agoHow can I drive from Queens, NY to Brooklyn without having to pay any tolls? And from Brooklyn to Manhattan?
I am trying to avoid spending a lot of money on tolls. So which ways are preferrable and toll-free?
3 AnswersNew York City10 years ago