How to write algorithm for the following question?
DaniWeb Forums » Computer Science
by Hussien_2
1w ago
Construct an algorithm that has input an integer n 1, numbers x0, x1,...,xn, and a number x and that produces as output the product (x-xo)(x-x1)(x - xn ..read more
Visit website
I want to solve this problem in C# please?
DaniWeb Forums » Computer Science
by Aya_962
1M ago
A small airline has just purchased a computer for its new automated reservations system. You have been asked to develop the new system. Youre to write an application to assign seats on each flight of the airlines only plane (the capacity of the plane is 10 seats of the same class). The flight ticket costs 500 $. Use a one-dimensional array of type Boolean to represent the seating chart of the plane. Initialize all the elements of the array to false to indicate that all the seats are empty. The user can choose his seat number (from 1 to 10) if it is available. As each seat is assigned, set the ..read more
Visit website
To convert algorithm to C++ code
DaniWeb Forums » Computer Science
by Filiphos Eyoel
3M ago
good ..read more
Visit website
Do you Know the best A/B testing Tools to improve your website performance?
DaniWeb Forums » Computer Science
by Vijay_34
6M ago
A/B testing is a method of comparing two versions of a web page or app to determine which one performs better. It is a powerful tool for optimizing websites and apps, as it allows businesses to make data-driven decisions about the design and functionality of their online platforms. With A/B testing, businesses can test different versions of a page or app and see which leads to more conversions, better user engagement, and, ultimately, higher profits. A/B Testing Tools There are many A/B testing tools on the market, and choosing the right one can be a daunting task. In this article, we will pro ..read more
Visit website
Array declaration c++
DaniWeb Forums » Computer Science
by Juniormi_01
6M ago
Lexicographic algorithm I'm trying to make this algorithm work, but it keeps telling me that my declaration array is not correct because it needs to have a constant value. Array declaration can be found in the main #include<iostream> #include<array> using namespace std; void nextPermutation(char* v, int n) { //function declaration for next permutation int i, j; //variable declaration for (i = n - 1; i > 0 && v[i - 1] >= v[i]; i--); // we go to the index till v[i]>v[i-1] if (i > 0) { //if i is greater than 0 than we have ..read more
Visit website
How to make instagram bot in 2022
DaniWeb Forums » Computer Science
by Nazmus
7M ago
will you kindly tell me how to make Instagram bots, Instagram bot followers? What is the step-by-step approach of it with programming? I want to make it by myself ..read more
Visit website
Multilabel Text Classification using Hugging Face Models for TensorFlow
DaniWeb Forums » Computer Science
by usmanmalik57
7M ago
Introduction This tutorial explains how to perform multiple-label text classification using the Hugging Face transformers library. Hugging Face library implements advanced transformer architectures, proven to be state-of-the-art for various natural language processing tasks, including text classification. Hugging Face library provides trainable transformer models in three flavors: Via the Trainer Class API Via PyTorch Models Via TensorFlow Models The HuggingFace documentation for Trainer Class API is very clear and easy to use. However, I wanted to train my text classification model in Tenso ..read more
Visit website
Translating CSV Files using DeepL and Pandas Dataframes in Python
DaniWeb Forums » Computer Science
by usmanmalik57
7M ago
Introduction In this tutorial, you will see how to convert the text in CSV file columns to other languages using the DeepL API in the Python programing language. DeepL is one of the most popular and accurate text translation platforms. DeepL, as the name suggests, incorporates advanced deep learning algorithms for training text translation models. In addition to raw text strings, DeepL supports translating documents in PDF, MS Word, and PowerPoint formats. However, I wanted to translate text in CSV file columns, which DeepL does not support. In this tutorial, I will explain how I achieved tran ..read more
Visit website
How to Create Pandas DataFrames with Tweets Scraped by Locations
DaniWeb Forums » Computer Science
by usmanmalik57
7M ago
Introduction I was working on a problem where I had to scrape tweets related to the T20 Cricket World Cup 2022, which is currently taking place in Australia. I wanted tweets containing location names (cities) and the keyword T20. In the response, I want the user names of tweet authors, tweet texts, creation time, and the location keyword used to search the tweet. Finally, I wanted to create a Python Pandas Dataframe that contains these values in columns. In this article, I will explain how you can return scrape tweets containing location information and how to store these tweets in a Pandas Da ..read more
Visit website
Get the Sum of the Values of Letters in a Name
DaniWeb Computer Science Topics
by fschild22
7M ago
Numerologists claim to be able to determine a person's character traits based on the "numeric value" of a name. The value of a name is determined by summing up the values of the letters of the name. For example, the name Zelle would have the value 26 + 5 + 12 + 12 + 5 = 60. Write a function called get_numeric_value that takes a sequence of characters (a string) as a parameter. It should return the numeric value of that string. You can use to_numerical in your solution. First, my code for to_numerical (a function I had to make to convert letters to numbers [notably not the ASCII codes; had to s ..read more
Visit website

Follow DaniWeb Forums » Computer Science on Feedspot

Continue with Google
Continue with Apple
OR