Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now 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.

  1. All Categories
  2. Computers & Internet
  3. Programming & Design

Programming & Design

Answer

  • YAHOO ANSWERS SHALL LIVE AGAIN!?

    Kore ga... requiem da.

    We're archiving all on ArchiveTeam. Please help the project, https://wiki.archiveteam.org/index.php/Yahoo!_Answ... Thank you.

    Signing off, goodbye.

    2 weeks ago
  • C++ HW Help - How do you  get output to look like the image below?

    Here's what I have so far:

    #include<iostream>

    using namespace std;

    void getData(int[][12]);

    double averageHigh(int[][12]);

    double averageLow(int[][12]);

    int indexHighTemp(int[][12]);

    int indexLowTemp(int[][12]);

    int main()

    {

        int temp[2][12];

        cout << "Enter high temperature for each month\n";

        getData(temp);

        double avgH = averageHigh(temp);

        double avgL = averageLow(temp);

        int inH = indexHighTemp(temp);

        int inL = indexLowTemp(temp);

        cout << "\nAverage high temperature:\t" << avgH;

        cout << "\nAverage low temperature:\t" << avgL;

        cout << "\nHighest temperature:\t" << temp[0][inH];

        cout << "\nLowest temperature:\t" << temp[1][inL];

        return 0;

    }

    void getData(int a[2][12])

    {

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

        {

            for (int j = 0; j < 12; j++)

            {

                cin >> a[i][j];

            }

        }

    }

    1 Answer2 weeks ago
  • Can't figure out why this program won't run... (C++ hw help)?

    #include<iostream>

    using namespace std;

    void menu(char&, int&, int&, int&, int&);

    void addFraction(int, int, int, int, int&, int&);

    void subtractFractions(char, int, int, int, int, int&, int&);

    void multiplyFractions(char, int, int, int, int, int&, int&);

    void divideFractions(char, int, int, int, int, int&, int&);

    int gethcf(int, int);

    void simplify(int&, int&);

    bool wishContinue(int&);

    int main() //Main function

    {

     int n1 = 0;

     int n2 = 0;

     int n3 = 0;

     int d1 = 0;

     int d2 = 0;

     int d3 = 0;

     int result = 0;

     char operation;

     char slash = '/';

     menu(operation, n1, n2, d1, d2);

     while (operation != 0)

     {

      if (operation == '1') // Add fractions

       addFraction(n1, n2, d1, d2, n3, d3);

      else if (operation == '2') // Subtract fractions

       subtractFractions(operation, n1, n2, d1, d2, n3, d3);

      else if (operation == '3') // Multiply fractions

       multiplyFractions(operation, n1, n2, d1, d2, n3, d3);

      else if (operation == '4') // Divide fractions

       divideFractions(operation, n1, n2, d1, d2, n3, d3);

      cout << n3 << slash << d3 << endl;

     }

      menu(operation, n1, n2, d1, d2);

      return;

     }

    3 Answers2 weeks ago
  • JAVA count specific letters and show it in output?

    Please someone help me!!!

    "ALL IS QUIET NOW, BUT WAIT!" must be inputted by the user and the output must show the the frequency of letters Q, A, E, and T. It should look like this    

    OUTPUT:

    Q = 1

    A = 2

    E = 1

    T = 3

        public void createCharacterFinder() {

        characterFinder = new JPanel();

        characterFinder.setLayout(null);

        JLabel enterLabel = new JLabel ("Antipolo Campus");

        enterLabel.setBounds(100, 5, 260, 20);

        characterFinder.add(enterLabel);

        enterText = new JTextField();

        enterText.setBounds(10, 35, 270, 70);

        characterFinder.add(enterText);

        JButton search = new JButton("Enter");

        search.setBounds(50, 110, 200, 20);

        search.addActionListener(this);

        characterFinder.add(search);

        countText = new JTextField();

        countText.setBounds(10, 135, 270, 150);

        characterFinder.add(countText);

        }

        public void actionPerformed(ActionEvent e) {

        String st = enterText.getText();

        char searchedChar = enterText.getText().charAt(0);

        char [] charsToSearch = enterText.getText().toCharArray();

        count(searchedChar, st);

        }

        public int count (char c, String str) {

        int cnt = 0 ;

        for (int i = 0;; cnt++) {

        if ((i = str.indexOf(c, i)+1) == 0) break;

        }

        countText.setText(c+ " = "+cnt);

        return cnt;

        }

    3 Answers2 weeks ago
  • How safe is Java or flash and if it is installed should it be removed?

    How can I find out if Java or flash is installed? Using windows 10.

     And if it is installed should it be removed? I hear Java and flash is not safe and malware can come in through it. 

    3 Answers2 weeks ago
  • What is the current most updated coding language to learn for 2021-2022?

    I’m interested in being a software developer and I know theirs a lot of different coding languages I just don’t want to waste my time learning an out of date coding language. If you can recommend anything I’d greatly appreciate it I’m trying to start a career in this 

    2 Answers2 weeks ago
  • videos and image problem?

    Why is the images and videos on my phone showing me the girls or women's image as a guy structure? It automatically turnes it in to a guy arm a guy legs and guy chest and face almost more than 80 percent guys structure. On all search of the internet, even personal friends that I know appear as that. when I am not using the phone and when I talk to another girl on other phone and after I am done talking to that person as soon as I turn youtube or fb or I am on the internet, it aoutomtically mimics that person by mixing that person I talk to with a man structure and make it apear somewhere as soon as I start using the internet without my will. this has been hapning for years and it's like torturing. how is this hapning, by who, why? all the image of women or girls that i know in the past appears as a half guy and half girl. guy arms and guy face structure which made it hard for me to communicate with people. 100 percent guys arm legs and body structure the remaining percent appears as girl. obviously noticeable to me but not sure if It is also noticeable for the people that I am chating or talking to. why is some sort of software doing this without the person consent? who is using this for Manipulative purpose and what is it 

    2 weeks ago
  • Are UART, SPI, I2C implementations microcontroller dependent?

    Is it possible to create one file, say for example uart.c to be generic, so that I can call the uart functions for different microcontrollers, say for example avr and arm? or is it a must that for every microcontroller I will have to create the the uart functions from scratch?

    1 Answer2 weeks ago
  • What will be an aternative Q and A Website ?

    When Yahoo Q and A shuts down what will be an alternative website?

    2 Answers2 weeks ago
  • How to Install GB Whatsapp in Apple Devices?

    Hi there, I am here for those people who are looking that how they are able to install GB Whatsapp APK on their iOS devices whether Mobile or PCs. 

    You just need to go the official website which https://gbwhatsapp.net/ and then scroll down in their Installation Guide. Read that guide thoroughly. 

    Your problem is solved. 

    Thanks

    1 Answer2 weeks ago
  • What are the correct answers to these interview questions I didn't get right for an entry level software developer position?

    Question 1: When would you use a try and catch block vs. using an if statement?

    My answer: A try and catch block is if you're trying to catch an error. An if statement is when you're trying to check if a condition is true or false. For example, if a care is red or blue.

    I was told my answer was wrong

    Question 2: What's the difference between an object and a class

    My answer: An object represents a class. A class can contain multiple objects.

    I was told my answer was wrong to this.

    3 Answers2 weeks ago