A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period is $10.00. Assume that no car parks longer than 24 hours at a time. Write a program that calculates and prints the parking charges for each of three customers who parked their cars in this garage yesterday. Your program should ask for the hours parked for each customer. Your program should print the results in a neat tabular …

Member Avatar
Member Avatar
+0 forum 1

Hi DW. I'm developing an App that uses the FCM notification, but the problem is that my code doesn't seem to get the actual data like when I extract the `message` or `body` it shows just the icon only if the notification was received when the App is open, and it shows the `title` and `body` if the notification is received when the App is not running. Basically what I'm trying is to get the `message` and put that on a textView so that it is seen on the actual App when you click the notification. Here is my `FirebaseMessagingService` …

Member Avatar
Member Avatar
+0 forum 1

Thank you for this warm welcome very dear friend My name is Grace BIDIKOU, and I am primarily a student and intern. I have a mastery in IT and I am very happy to integrate this pleasant community. Even if I don't know how it goes here but over time it will be fine.

Member Avatar
+0 forum 0

This page keeps crashing on my iPhone, both in Mobile Safari as well as Chrome. https://www.daniweb.com/connect/developers/endpoints

Member Avatar
Member Avatar
+1 forum 5

I'd like for my page (https://fiftyallstars.com/tour.html) to load, and for the TOUR to start automatically. Right now visitors must click a button with id "starttour" Here's what I've added so far, but it doesn't do the trick: <script> $(function () { window.onload = $('#starttour').click(); }); </script> <a class="start-tour" href="#" id="starttour"><span class="two skinny" style="margin:10px 5px; width:290px; font-weight:bold; letter-spacing:4px;"><i class="fa fa-photo animated faa-pulse faa-slow"></i> Take a Detailed Tour</span></a> Thanks for any help whatsoever.

Member Avatar
Member Avatar
+0 forum 3

I am programming the game Othello in c#. i have managed to generate the grid however the starting pieces are not in the right position. I think it because the indexing from 0 when I want it to start from 1. Can someone try and help me out. private const string White_piece = "X"; // players piece private const string Black_piece = "O"; // computers piece private const string Empty = " "; const int Row = 9; const int Column = 9; private string[,] board = new string[9,9]; public void Draw_Board() // creates the reversi board { // Codes …

Member Avatar
Member Avatar
+0 forum 5

I've been following the latest efforts (in the US) of the GOP to unfairly redraw electoral boundaries and was considering how simple a law could be worded to ensure a more fair allocation of electoral districts. What I came up with is: 1. All boundary lines must consist of straight line segments 1. No district may contain an inside angle of greater than 180 degrees 1. No district may have a major axis greater than 1.5 times its minor axis I chose the 1.5 number as a starting point. Do the above three restrictions effectively eliminate the tetris/dragon style maps?

Member Avatar
Member Avatar
+0 forum 5

Hello, I have task to read the CSV file using C++ , the CSV file contains 10 rows x 3 colums float data and I want to read it and apply some mathematic and then the ouput should be stored in a new array.and the datatype required is double

Member Avatar
Member Avatar
+0 forum 1

For those very new to this area, please google SIM SWAP and discover a very nasty security issue with all phones we use today. At first glance the new security researcher might think I'm exaggerating. Do your own research and tell me you don't find this to be one of the most foul, nasty exploits I've seen in years. This exploit was recently used to highjack a writer's phone at https://www.zdnet.com/article/sim-swap-horror-story-ive-lost-decades-of-data-and-google-wont-lift-a-finger/ His case is still developing with loss of accounts, tax returns he stored on the Clouds, and a 25,000USD Bitcoin purchase. And we're not talking thousands of dollars in …

Member Avatar
Member Avatar
+0 forum 1

What will be the new SEO strategy for 2020?

Member Avatar
Member Avatar
+0 forum 2

Hello everybody I'm creating a Windows Desktop App using vb.net, I'm not very knowledgeble and I can say that I'm still a beginner. So I have this project where I'm trying to create a report form using ReportViewer where as after putting the ReportViewer control to my form and select the rdlc file and datasource this error suddenly pops up: *"Could not load file or assembly 'MySql.Data, Version=8.0.17.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"* This only shows whenever I try to add a reportviewer …

Member Avatar
+0 forum 0

Hi all :) Currently now I used MS SQL Server Management Studio 2008. I have an existing table with data already store on that table. Table Name : Application Column : Categories (nvarchar(1), null) Sequence (nvarchar(1), null) Detail (nvarchar(150), null) I would like to ask how to add primary key to column Categories and Sequence ? Thank you in advance !

Member Avatar
Member Avatar
+0 forum 3

I have three tables(table, table2,table3). From table1 i want to return three rows: Title, Desc,time,'products' AS type From table2 i want to return three rows: group_title, group_desc, created,'groups' AS type From table3 i want to return three rows: name, occupation,birth,'users' AS type $sql = "SELECT DISTINCT * FROM (SELECT table1.title, table1.desc, table1.time,'products' AS type FROM table1 ORDER BY rand() LIMIT 5) AS T UNION ALL (SELECT table2.group_name,table2.group_desc,table2.created,'groups' AS type FROM tabl2 JOIN table1 ON table2.id = table1.id ORDER BY rand() LIMIT 5) UNION ALL (SELECT table3.name,table3.occupation,table3.birth,'users' AS type FROM table3 JOIN table1 ON table3.id = table1.id ORDER BY rand() LIMIT …

Member Avatar
Member Avatar
+1 forum 5

write a c++ program in which you are required to devolpe a c++ program which encrypts the data of the user after entering his/her message in the character array the user will enter a number a new message will be generated by adding each letter to the number entered by the user

Member Avatar
Member Avatar
+0 forum 1

Hi all at Daniweb, I'm quite new to PHP and I'm banging my head over this... query 1 WORKS: **$query = "CALL procedure_is_a_great_way_to_let_db_do_some_work('1','6')";** //both 1 and 6 are IN parameters! query 2 DOESN'T WORK: $id_pictures = 1; $id_names = 6; **$query = "CALL procedure_is_a_great_way_to_let_db_do_some_work('".$id_pictures."','".$id_names."')";** //both 1 and 6 are IN parameters!

Member Avatar
Member Avatar
+0 forum 2

I come across this problem every so often and end up having to do work arounds when I would prefer to keep it in the database. I have a query where the data in the query updates frequently so the query won't stay in the cache but I don't need the query to be accurate. I was trying to avoid adding an extra step of storing the data in a temp table and having to update it on a timer. Does anyone know of a way to get MariaDB or MySQL to Keep the result set for a period of …

Member Avatar
Member Avatar
+1 forum 11

When it comes to driving traffic to your site, one of the easiest, and cheapest ways to do this is through social media. If you company is not on social media, I hate to break it to you, but you are behind. Marketing is all about chasing the consumer’s attention, and with 3.4 billion social media users around the world, it’s not hard to tell where to focus is. While it may seem easy that users who follow you on Facebook or Instagram will eventually land on your site, there has to be a quicker way to get them there …

Member Avatar
Member Avatar
+13 forum 34

It can often be tough to determine what direction the digital marketing world is going, considering how it is evolving in a time where technology is continually changing and evolving. However, many analysts and experts that can agree that there are methods that simply aren’t effective or might not be the smart strategy currently. There is nothing wrong with digital marketing that eschews a traditional approach. Many companies have succeeded because of innovative digital marketing campaigns that have changed the way that we think about advertising in general. However, here are some digital marketing mistakes that you should work to …

Member Avatar
Member Avatar
+1 forum 4

How can I minify my code in here, I am giving each 23 total imageview a eventhandler. code works, but I like to make the code shorter. I tried to use for loops to shorten the code. here is a example what I tried to do: for (int i = 0 ; i < imgArrayList.size() ; i++) { imgArrayList.get(i).setOnMouseClicked(new EventHandler<MouseEvent>() { @Override public void handle(MouseEvent event) { selectedTile = i; } }); } but it can't because, the "i" inside the handle method is final. I can't pass the "i" inside the handle method. my goal is, that a specific …

Member Avatar
Member Avatar
+1 forum 4

Rcently i posted to many platforms but not sufficiant ansewre was given, can some someone tell me why google has removed my website from search, i have right pagesa and tested on many seo tools everything is fine still google remove my site, does it because of cloud flare, someone said it's because of bad nighbourhood, can any one suggest me the solution my site is https://www.leatherjacketsales.com/ If you check image on Dec 9 2019 here was 43 products and now on 15 Jan 2020 within month almost all site has been deindexed for unknown reason. ![Untitled-1.jpg](/attachments/large/4/eeb841020e37fdcc9a584bd39add1535.jpg)

Member Avatar
Member Avatar
+0 forum 13

Python-wxPython Tutorial This tutorial will take you through the basics of wxPython. ##Introduction: Let's face it. I am a dinosaur. I got my computer science degree in the mid 70s. And it won't be long before **I** am in **my** mid 70s. So why am I trying to learn Python? Mostly because learning new things keeps my brain active. And besides, nobody on Daniweb seems to be asking questions about vb.Net anymore. So I thought I'd give it a try. After a few weeks of puttering I managed to learn enough Python to rewrite all of my vbscripts (stop laughing, …

Member Avatar
Member Avatar
+7 forum 25

Hi Dani, I'm new to Python . I started working on an automation project where i need to connect to a SunOS server through a windows jump server and run commands to get output on my local machine. I checked this existing module on python called jumpssh but not sure if it's the right one for me or if there is a better alternative by using subprocess or any other modules. To accomplish this manually, I'm doing an RDP to the jump server and then connecting to target server through putty. Any help would be appreciated. Thanks in advance.

Member Avatar
Member Avatar
+0 forum 1

I have a SOny PVM-4300 45" monster monitor and am told I need a tv card to use the screen---I am totally lost as to what to do and hope someone out here can point me in the right direction and/or tell me what I need.....I would appreciate any help..........thanks

Member Avatar
Member Avatar
+0 forum 3

Hi everyone, right now I am looking for a database b2c (consumers) from the UK and SPAIN with more than 200k leads. This is to buy, someone interested?

Member Avatar
Member Avatar
+0 forum 2

Hi everyone! I'm new member to this forum, you can call me Drycola. I'm a Visual Basic programmer, currently working on VB5! (I know it seems veryold, but it is very useful too!) What led me to this forum is my interest in making an operating system. I know it is not an easy task, but trying to do so won't hurt!! Would anyone please tell me if I should start learning C++ or I just keep going on with classic VB ??

Member Avatar
Member Avatar
+0 forum 8

Hello I am Satya Prakash Bharti from Jaipur Rajasthan India. I am Founder & CEO of W3care Technologies Pvt. Ltd. I have over 15+ years of experience in planning, design, implementation & maintenance of quality web and mobile based applications in more than 32+ countries across the globe. I am very keen to learn new things and love to write technical blogs. Glad to Join this community, as here to share my valuable knowledge and get valuable knowledge from members around the world. Thanks

Member Avatar
Member Avatar
+1 forum 1

How Much time Taken to get 1st page rank in google? My website is related to Laptop Repairing Services in Pune ..working from last 2 month but not get 1st page rank...please help

Member Avatar
Member Avatar
+0 forum 1

Hi, I have an idea of building an API for **Machine-to-machine payments.** The API will enable to assign wallets to connected devices, record available amounts of something valuable, as well as all incoming and outgoing movements of value. Would love to hear back from developers who are seeking to address the issue of M2M payments. * Which challenges around M2M payments are you trying to solve? * Which technology do you use? Appreciate your feedback a lot!

Member Avatar
Member Avatar
+1 forum 1

I am developed a custom PHP page with filters, addto cart module, music playlist everything. How can i implement it into WordPress? I am a newbie, any help thanks. My custom PHP work directory structure : location : public_html/my_work website URL : website.com/my_work Everything working good, but my wordpress heaer and footer missing, thats what i am asking to how to implement my custom development multiple PHP page work into Wordpress.

Member Avatar
Member Avatar
+0 forum 1

when i am trying to insert date into the datefield of the oracle then date value are stored in to database but each date value are same like DOB 01-JAN-70 01-JAN-70 01-JAN-70 public class practicdate { JDateChooser dateChooser,dateChooser1; practicdate(){ dateChooser = new JDateChooser(); dateChooser.setBounds(200, 200, 150, 20); getContentPane().add(dateChooser); public void actionPerformed(ActionEvent e) { java.util.Date utilDate=(java.util.Date) dateChooser.getDate(); java.sql.Date sqlDate=new java.sql.Date(utilDate.getDate()); try { java.sql.PreparedStatement ps=con.prepareStatement("insert into examdate values(?)"); ps.setDate(1,new java.sql.Date(sqlDate.getDate())); ps.executeUpdate(); ps.close(); con.close(); }

Member Avatar
Member Avatar
+0 forum 1

The End.