2,720 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Cutie@04

Fred sales bunches of flower at the local shopping centre. One day Fred's boss, Joe tells fred that at any time during the day he will need to know: How many bunches of flower has been sold. a) What was the value of the most expensive bunches sold? b) What …

Programming c++
Member Avatar for Maryam_16
0
148
Member Avatar for Juliana_2

this is my sample code to create a student record using singly linked list queue. my problem is that I want to insert a student number in the struct but it doesn't repeat when I input the same student number. #include <stdio.h> #include <stdlib.h> struct node { char No[12],Name[24],crsysr[10]; float …

Member Avatar for Schol-R-LEA
0
122
Member Avatar for Malik_32
Member Avatar for dasharath_1

Give the solution of the apthon exampsl prectical 1. Write a program to create a number converter that can convert numbers between binary, decimal, octal and hexadecimal. E.g. i/p - Please Enter the base of your input number : 2 Please Enter Binary number : 1111 Please Enter Base for …

Member Avatar for rproffitt
0
70
Member Avatar for mohammedmurad

Write a C++ program that calculates and prints the sum of the odd integers, and the sum of even integers from 1 to 20. Use for statement.

Programming c++
Member Avatar for rproffitt
0
70
Member Avatar for joalanemakaka

I want to make a Visual Basic contacts application that stores the names, emails and countries of up to 10 different people and allows the user to lookup an address based on its number.

Programming vb.net visual-basic
Member Avatar for Schol-R-LEA
0
64
Member Avatar for Mohammad_94

Hello, I'm facing loding issue on my[ Grocery store](https://www.chococraving.com) when i swiches to clouldflre CDN service. They load much higher then normal. Have any perfect configure for clouldflare for DNS settings. We website is Wordpress based and using Digital Ocean Hosting. Thanks in advance. Salman

Member Avatar for Dani
0
44
Member Avatar for ______-----

Microscopic Multiply We want to simulate a small square surface of an area with micro-organisms (like bacteria) and how they spread every cycle of life (iteration) on this surface. This surface is 2-D, its size is nxn and each 1x1 space forms a block. Each can be empty or hold …

Member Avatar for Belal_3
1
892
Member Avatar for Vandu_1

9. Write a JavaScript program to generate n number of random numbers and store them in an array. Sort the generated numbers in ascending order using array sort method. Develop separate functions to find mean and median of numbers that are in the array. Display the results with appropriate messages.

Member Avatar for Schol-R-LEA
1
52
Member Avatar for Ernesto_10

Hi, Im creating a canvas and inserting an image. I'm using bind to move the image with my mouse. It works, but whenever I add another image, it doesn't work. When I try to move any images, only image1 moves and image 2 dissappears. Any ideas would help, thanks Here's …

Member Avatar for rproffitt
1
41
Member Avatar for arshad02

Hi, I am looking to create a multis-step filterable gallery as shown in the attached image. I am using wordpress Please help! ![Blank_diagram.png](https://static.daniweb.com/attachments/4/0de051fa654c8be5beadd2182ebb45c4.png)

1
38
Member Avatar for සශික

I had button code to print data in data grid view on vb.net program. But when I click on print all times it show print preview lost first of record. this is my code Dim mRow As Integer = 0 Dim newpage As Boolean = True With dgvreciept Dim fmt …

Member Avatar for anoshmilton
0
2K
Member Avatar for Alamir Rangel
Member Avatar for JoBe

Hello ladies and gents, Chapter 3 exercise 3-1: [quote]Suppose we wish to find the median of a collection of values. Assume that the we have read some values so far, and that we have no idea how many values remain to be read. Prove that we cannot afford to discard …

Member Avatar for Alfonso_4
0
858
Member Avatar for Eisya

helo! im an comp engineering student and i need ur help. i have to do a Reminder system using assembly language |-ask user key in input |-clock system |-timer system |-output. thats the basic idea that i have for now. we are using the emulator x86, here the link https://carlosrafaelgn.com.br/Asm86/ …

Member Avatar for Russ_4
0
246
Member Avatar for biityy34

size = 10 for i in range(size) : for j in range(size) : if(i == j or size - j == i + 1) : print("* ", end = "") elif(i == size/2 - 1 or j == size/2 -1 or i == size/2 or j == size/2): print(" ", …

Programming java python
Member Avatar for biityy34
0
206
Member Avatar for Manggala

I have three tables: First table is 'user': user_id | Name | ---------------------- 1234354 | Abu Bakar | 2543353 | Ali | 3342342 | Aliza | 4234243 | Ali | 5234324 | Mike | Second table is 'meeting': meeting_id | meeting_name | meeting_startDate | meeting_endDate | room_name | ---------------------------------------------------------------------------------- 1 …

Member Avatar for rproffitt
0
118
Member Avatar for Hammed_1

Please am new here and I need you guys help am trying to save a fingerprint template into my database (Sql server) but is not working, this is my code Dim fingerprint as Memory stream = new MemoryStream Template.serializ(fingerprint) fingerprint.position=0 Dim be as BinaryReader = new BinaryReader (fingerprint) Dim bytes() …

Member Avatar for pritaeas
0
101
Member Avatar for angxlx

how can i rerun the program using 'y' and 'n'?? package com.company; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner reader = new Scanner(System.in); while (true) { System.out.print("Enter a number: "); int num = reader.nextInt(); if (num > 0) { String number = (num % …

Member Avatar for JamesCherrill
0
97
Member Avatar for MagnusTheRed90

Hello, so I have a more complex class in another file, but I have duplicated my trouble on a simpler class which I will show to you. I am trying to base64 encode a path via cipher text, either a good idea or a bad idea. Anyway, I am noticing …

Member Avatar for JamesCherrill
0
84
Member Avatar for sonnet2

In my workplace, we have an intranet website developed internally that we use for CRM. The data of our clients are shown there (MS SQL server is used as a backend to store data). The site has a limited search functionality at the moment (it'll try to match the text …

Member Avatar for Dani
0
72
Member Avatar for Kando_1

Hi Guys, Im not sure how to word the title of this question, but i have a table called "daily_recyclables". Inside this table, i have multiple columns of recyclable materials (example copper, stainless steel, brass etc etc) In my PHP application, i have a statistic card (like below) that is …

Member Avatar for Dani
0
71
Member Avatar for Mustafa_36

Generate a graph by forming an adjacency matrix with random numbers. The graph will have 10 nodes. The connections will be generated randomly with the following rules. • Each pair may have a connection with 60% probability. It means that the connection weight for a node pair will be 0 …

Member Avatar for rproffitt
0
52
Member Avatar for Shikigami

1. Use two-dimensional array with size 7 columns and 5 rows. 2. Seat numbers are populated during run-time. 3. User is asked to input a seat number. 4. Seat number chosen is replaced by 0. 5. Program displays a remark “Seat successfully reserved” when reservation is done. 6. User is …

Programming c++
Member Avatar for Schol-R-LEA
1
131
Member Avatar for fugnut

I would like to have the user enter ctrl-z to end the program...can someone tell me how to insert this into the following program? [CODE]//Program to calculate greatest common denominator of two integers #include <iostream> using namespace std; int calcGCD(int, int); int main() { int a, b, res; cout <<"This …

Member Avatar for mohammad reza_1
0
7K
Member Avatar for lolwtf

I'm using the ink picture control and I'm having trouble getting my code to work. The inkpicture control is used for tablet pcs when the user draws inside the control. I just want to be able to save it to a jpeg. I've been stuck on this for days :) …

Member Avatar for Nathan_20
0
2K
Member Avatar for ramyayarrapothu

$curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://livehealth.solutions/getAllTestsAndProfiles/?token=3f115cd0-c79b-11eb-b07b-0aa43715764a', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'GET', )); $response = curl_exec($curl); curl_close($curl); $resArr = json_decode($response); echo "<pre>"; print_r($resArr); echo "</pre>"; **displays the list of array values... as shown …

Member Avatar for Dani
0
1K
Member Avatar for patk570

Hi Everyone, I am looking for a way to add a username to confirm a seat choice for certain weeks, I already have the PHP Code to confirm the seat when choosing but on the image i would like for it to display the username so other people know its …

Member Avatar for rproffitt
0
1K
Member Avatar for Xioto

So, I’m trying to capture and store wave height data and cache it in a file based on the fetch timestamp in local time. I have hit an error with the last section. Here is the error - d = sorted(data['hours'], key=lambda i: i['time']) TypeError: list indices must be integers …

Member Avatar for Husoski
0
1K
Member Avatar for Arsh_2

The End.