2,720 Recommended Topics
Remove Filter | |
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++ | |
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 … | |
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 … | |
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++ | |
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 | |
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 | |
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 … | |
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. | |
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 … | |
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) | |
| 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 … |
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 … | |
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/ … Programming assembly c c++ microsoft-access visual-basic | |
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(" ", … | |
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 … | |
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() … | |
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 % … | |
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 … | |
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 … | |
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 … | |
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 … | |
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++ | |
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 … | |
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 :) … | |
$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 … | |
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 … | |
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 … | |
Write an algorithm to find average of 10 number |
The End.