2,720 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Mnashmanne

: Mining Temperature Data The highs and lows of the 3 first weeks of 2020 temperature data are available on a piece paper and we have decided to store them in a three-dimensional array in which the first index represents the 3 first weeks of the year, and take the …

Programming c c++
Member Avatar for rproffitt
0
97
Member Avatar for David_208

Ci-après le code : <?php $query = "SELECT ownerID,ownername,ownerbureau, is_deleted FROM notes.owner WHERE is_deleted = 0 AND ownername IS NOT NULL ORDER BY ownername,ownerbureau"; // Prépare une requête à l'exécution et retourne un objet $stmt = $pdo->prepare($query); // Exécute une requête préparée $stmt->execute(); $previousGroup =""; $first_group = true; ?> <select …

Member Avatar for Dani
0
95
Member Avatar for Siti_4

Construct a program in C++ to calculate a net selling price of a car from variety of models. The requirement of the program are: a. The program should be developed according to object oriented programming language which contain: i. A class with a proper naming convention. ii. A constructor with …

Programming c++
Member Avatar for JamesCherrill
0
88
Member Avatar for Facundo_3

First I would like to say that I do not speak English so sorry if I express myself badly. Hi, I need to know how I can solve this game. "Archers in the Forest". The game consists of a forest represented by a grid, 5x5, 7x7, 9x9 (The user will …

Programming c javascript php
Member Avatar for rproffitt
0
82
Member Avatar for Battlecode10

I am currently creating a Hangman program using Object oriented programming in C++. I tested my words class and it runs perfectly with a sample main that I was using. The classes that I need help with are Hangman and HangmanConsole. I am not sure what to do to get …

Member Avatar for Dani
0
79
Member Avatar for TimTheCoder

i have a script in clojure that can read a string of integers separated by commas from a file..the scrip is succesful and reads the line from the file as astring,all i want is some clojure loop to scan the string for integers and add to an integer array here …

Programming java
Member Avatar for tinstaafl
0
69
Member Avatar for Ayna_1

Hi! When I am running this code, the output looks how I expected it to be, but the problem is that I cannot go back to home page whenever I want to. I dont know why but when I tried to go back to home page after visiting the tips …

Programming c++ mssql mysql python sql
Member Avatar for rproffitt
0
68
Member Avatar for @Mathabo

GUESSING GAME HERE please help im new in this python programming 1. This is a game that allows a user to play guessing one single number to try to win at a maximum of 3 attempts. The possible numbers to win must be stored in a list or tuple or …

Programming python
Member Avatar for rproffitt
0
61
Member Avatar for ChrisJ

This html web page code, when viewed via mobile device, captures video from the mobile device. By tapping the page, the mobile video full screen appears, ready to begin recording. I'd like to find a way to reduce the dimensions of that full screen, if possible. I'm guessing it might …

Member Avatar for Dani
0
61
Member Avatar for tanpuia

![Screenshot_(2).png](https://static.daniweb.com/attachments/4/c0a0afbf51cd49a05979817aec55aae8.png) ![Screenshot_(1).png](https://static.daniweb.com/attachments/4/64076d813428db9ea62993455ba6feb8.png)

Member Avatar for Dani
0
55
Member Avatar for John Elbert

So far I'am using this code. The problem is it loads too slow when it is loading on my textbox, is there another way around it? I was just looking for suggestions or ideas. Thank you. Function qtyCheck() query = "SELECT SUM(prdInput) AS prdInput FROM ProdOutput WHERE HELPER ='" & …

Member Avatar for Reverend Jim
0
55
Member Avatar for LZS_405

package Dialogs; import java.text.DecimalFormat; import java.util.Scanner; public static void main(String[] args) { Scanner sc = new Scanner(System.in); Scanner newdata =new Scanner(System.in); DecimalFormat df = new DecimalFormat(".00"); int newprogram; int count = 0; double Total1; System.out.print("How many items in a counter? : "); int Item = sc.nextInt(); String new1 [] = …

Programming java
Member Avatar for stultuske
0
52
Member Avatar for Jan_102

import math import numpy as np import matplotlib.pyplot as plt print("y = a^x + b") jarda=0 while jarda<=0 or jarda==1: jarda=int(input("zadej a ")) def v() : while True: číslo=(input("zadej b ")) try : return int (číslo) except ValueError print("nebylo zadané číslo") barca=b() A = int (input("zadej počáteční hodnotu def.oboru ")) …

Member Avatar for Reverend Jim
0
48
Member Avatar for ChrisJ

Is it possible to add scrolling text across the page/video-camera-screen? On an html page, it uses this code: accept="video/*" in this context: <input type="file" name="fileToUpload" id="fileToUpload" accept="video/*" capture="user" onchange="submitForm();"> and when you view the page via mobile, and tap the page, your video camera screen appears. I'm looking to see …

Member Avatar for rproffitt
0
196
Member Avatar for Richard Dickson
Member Avatar for rosh988

<?php $firstname = $_POST{'firstname'}; $username = $_POST{'username'}; $emailaddress = $_POST{'emailaddress'}; $password = $_POST{'password'}; $contact = $_POST{'contact'}; //Database connection $conn =new mysqli('localhost','root','','registration'); if ($conn->connect_error) { die('connection failed : '.$conn->connect_error) }else{ $stmt = $conn->prepare("insert into users(firstname, username, emailaddress, password, contact) vlaues (?, ?, ?, ?, ?)") $stmt-> bind param("ssssi",$firstname, $username, $emailaddress, $password, …

Programming mssql mysql php sql
Member Avatar for Dani
1
40
Member Avatar for clementer

Check 4th element of an arraylist and compare it to an element. example: 1,1,2,4,1,2,3,4,1,2,5,1. so the 4th elements would be 4,4,1 and i want to compare that those numbers are the same as 4. I was thinking an if statemet would work. any recomendations?

Programming java
Member Avatar for clementer
1
38
Member Avatar for GFXtm

I have the following table: my_contacts which contains the following columns: [CODE]contact_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, frist_name VARCHAR(20), interest VARCHAR(20)[/CODE] [CODE]-----------+-----------+---------- contact_id | fisrt_name | interest + ---------------------------------- 1 | smith | swim + 2 | mark | dance + ----------------------------------[/CODE] I need to move the interests column …

Member Avatar for Asish_2
0
2K
Member Avatar for Abhirami_1

Create a c++ program that reads a CSV file and prints the rows at even positions. For example, if the CSV file has 10 rows, print rows 2, 4,6, 8 and 10

Programming c++
Member Avatar for rproffitt
0
408
Member Avatar for Sathyaprakash

I have added a custom code to validate the phone numbers to be 10 digits on checkout fields. Here is the code add_action('woocommerce_checkout_process', 'phone_number_validation'); function phone_number_validation() { global $woocommerce; if ( ! (preg_match('/^[0-9]{10}$/D', $_POST['billing_phone'] ))){ wc_add_notice( "Incorrect Phone Number! Please enter valid 10 digits phone number" ,'error' ); } } …

Member Avatar for Dani
0
265
Member Avatar for ytgaamer

I am making a tic tac toe game, and have completed it. Now I am trying to implement a library to my code and I chose ncurses, because it seems easier to add and will allow me to change the color of the input for the game. However, I can't …

Member Avatar for rproffitt
0
147
Member Avatar for clementer

I have an ArrayList of 750 elements I would like to divide that ArrayList into 150 subarraylists so 5 elements to each subarraylist. I have this code but it not working while (scanner.hasNextLine()) { String t = scanner.nextLine(); String[] ar = t.split(","); for (int i = 0; i < ar.length; …

Programming java
Member Avatar for rproffitt
0
113
Member Avatar for Hugo Edson

I wrote this line of code: database = {"host":host, "user":user, "password":password, "db":db, "charser":charset, "cursorclass":cursorclass} and i'm receiving this: {'host': '35.234.92.142', 'user': "b'freedbtech_'", 'password': "b''", 'db': "b'freedbtech_cursopython'", 'charset': 'utf8mb4', 'cursorclass': "<class 'pymysql.cursors.'>} i need to remove those "b's" and " ' " in the strings, but i don't know how to …

Programming mysql python
Member Avatar for rproffitt
0
105
Member Avatar for Claire_6

Hi! I need help with my assignment. I need to convert this one to C language. I've already changed the cout to prinf, but somehow it doesn't run. Help please. #include <stdio.h> int main(){ int order,no_deals; cout<<"Grocery"<<endl; cout<<endl; cout<<"(1) Eggs 6 pesos only."<<endl; cout<<"(2) 1 kl Rice 60 pesos only."<<endl; …

Member Avatar for rproffitt
0
97
Member Avatar for hennel

Good day I am trying to get a total of two numbers. The first number I need to get form my page (the number changes every few seconds (crypto clicker) Second number must be 35 This is the code I got after search, but do not know how to get …

Member Avatar for hennel
0
92
Member Avatar for Aldrich_2

I have a variable called **arrayForStudents**. it has 5 columns you can see how should it be applied from line 51 to line 63 code block but I am getting trouble how should I add the value as simple as interting values in the database. I need help using System; …

Member Avatar for rproffitt
0
90
Member Avatar for Donnolic

I have a VB.net project that queries my online database directly. Now I want to use API instead of direct connection. Please I have never done such before and all materials I got online are not learning friendly and some that are friendly didn't have relation with database. And secondly, …

Member Avatar for Dani
0
85
Member Avatar for mildered

i am new here and and want to know about the web development. i want to become a professional web developer. i am confused about where to start? can anybody help me.

Member Avatar for Dani
0
73
Member Avatar for ALI_418

A balanced tree is one of the data access techniques in a database. How does it work? How data can be inserted in. How data can be deleted from it; how data can be updated? And how data can be reviewed? By giving an example explain all of them. Your …

Member Avatar for rproffitt
0
73
Member Avatar for apu_923

Hello every one I'm new here I need your help I'm newbie in PHP and littlebit understand on the PHP so I need your help I'm going to make a page of user account setting in which user upload his/her image update his/her name email and also change his password. …

Member Avatar for Dani
0
73

The End.