2,720 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Rabana_1

def Count_Total_Words(str1): total = 1 for i in range(len(str1)): if(str1[i] == ' ' or str1 == '\n' or str1 == '\t'): total = total + 1 return total string = input("Please Enter your Own String : ") leng = Count_Total_Words(string) print("Total Number of Words in this String = ", leng)

Programming java javascript python
Member Avatar for rproffitt
0
130
Member Avatar for euubisse12

i am completly stuck with some problems in programming, talking exactly aboutt linked list and some others can anyone help me?

Programming c c++ mysql python visual-basic
Member Avatar for Naheedmir
0
114
Member Avatar for ky123

May i knw how to write a program that can set goal, record food/drink consumed and record foodcomposition???

Member Avatar for Prasad_9
0
112
Member Avatar for Nelam parveen
Member Avatar for user56rj

I have an assignment due for my ap computer science principals class and I have no clue on how to do it. I’m willing to pay!!!

Member Avatar for Naheedmir
0
87
Member Avatar for Software_5
Member Avatar for Keep_2

Yeah, same with the topic how can I become a Java master or advanced? Now I have finished Programming 2, but I don't know that, which level of my skill in java, and I want to know what how does Java master coding looks like?? Thank you

Member Avatar for Reverend Jim
0
78
Member Avatar for JNSS

function to add two numbers, taking as arg/param & using inputs.

Programming python
Member Avatar for Rahul_53
0
64
Member Avatar for rutu9392
Member Avatar for Idoma

<! doctype html> <html> <body> <title> How to write a html file</title> <h1> how to write html</h1> <p> when creating a html file you make use of of your notepad </p> <h2> processing of html</h2> <p> when starting you make use of word like doctype, head, paragraph, body etc. You …

Member Avatar for Dani
0
60
Member Avatar for Katie_4

Hi I am coding a raspberry Pi to light up 5 LEDS for a binary number. I am missing some code because I am not sure what to put there, and my output is not coming out correctly. My output is below How many bits? 5 Enter the pin number …

Member Avatar for rproffitt
0
59
Member Avatar for Siddikulla
Member Avatar for Cheru John
Member Avatar for KINYUA_1

Am having trouble implementing a conditional structure for the BillingClient class method queryPurchases(String y) to check if user has an active subscription and let him download an image in the wallpaper app else prevent him from doing so. Am having trouble getting a comparison target for the if method here …

Member Avatar for Mr.M
0
53
Member Avatar for Lonely_2

In the program i made tried to login and it does not work i am not sure what i did wrong. [[Click Here](http://www.onlinegdb.com/B15uh6kB_)](http://www.onlinegdb.com/B15uh6kB_) #include <stdio.h> #include <stdlib.h> #include <string.h> #define MAXUSERNAME 30 #define MAXPASSWORD 20 typedef struct { char username[MAXUSERNAME]; char password[MAXPASSWORD]; } pass; int main() { char userName[MAXUSERNAME]; char …

Member Avatar for Prasad_9
0
53
Member Avatar for Haneen_1

Hi..please can anybody help me..im beginner and i have a hard assignment i need to write a c++ program that do the follwoing : 1.aske the user to enter two text file the first one containe the text file ,the second one contain list of words in one column Regardless …

Programming c++
Member Avatar for rproffitt
0
51
Member Avatar for simon_24

Hi every one! I real like programming, but I dont know which language to learn to become a best programer. I just need advise becouse there are many languages out there. Thank you

Member Avatar for Reverend Jim
0
44
Member Avatar for Hafiz_6

<?php if(isset($_POST['submit'])){ $kategori = $_POST['kategori']; $nama = $_POST['nama']; $harga = $_POST['harga']; $deskripsi = $_POST['deskripsi']; $status = $_POST['status']; $filename = $_FILES['gambar']['name']; $tmp_name = $_FILES['gambar']['tmp_name']; $type1 = explode('.', $filename); $type2 = $type1[1]; $newname = 'produk'.time().'.'.$type2; $tipe_diizinkan = array('jpg', 'jpeg', 'png', 'gif'); if(!in_array($type2, $tipe_diizinkan)){ echo '<script>alert("Success")</script>'; }else{ move_uploaded_file($tmp_name, './produk/'.$newname); } } ?> **Error …

Programming mssql mysql php
Member Avatar for rproffitt
1
320
Member Avatar for Papa_Don

Hi Group, I'm using the split function for the very first time. I understand what it's doing. However I don't know how to output each individual word into a specific variable. As an example, the string is "Dickerson Tile Company". I have defined 7 variables to accept up to 7 …

Programming vb.net
Member Avatar for Reverend Jim
1
103
Member Avatar for Syed_26
Member Avatar for TheNewKid

Hey guys, I have been looking around for a while but I can't seem to find any tutorial on how to print the contents of a RichEdit to a printer. Any help would be appreciated and if anyone has any links to a good tutorial please post them. Thanks! TheNewKid

Member Avatar for Greg_21
0
538
Member Avatar for Huzaifa Ehsan

The value of π can be determined by the series equation π =4 * ( 1 −1/3+1/5 −1/ 7+1 /9− 1/ 11+1/13+... ) Write a recursive function that takes an odd number n and uses recursion to approximate the value of π using the given formula including term up through …

Member Avatar for Reverend Jim
0
494
Member Avatar for IbtiSsam

<?php include('connexion.php'); include('security.php'); include('includes/header.php'); include('includes/navbar.php'); ?> <body> <?php if(isset($_POST["approved"])) { $id_location=$_POST['id_location']; $sql="UPDATE location SET etat = 'Approved' WHERE id_location = '$id_location'"; mysqli_query($connection,$sql); } if(isset($_POST["rejected"])) { $id_location=$_POST['id_location']; $sql="UPDATE location SET etat='Rejected' WHERE id_location = '$id_location'"; mysqli_query($connection,$sql); } ?> <div class="container-fluid"> <div class="card shadow mb-4"> <div class="card-header py-3"> <h6 class="m-0 font-weight-bold text-primary"> …

Member Avatar for IbtiSsam
0
388
Member Avatar for Asjdkwjsnc

I would like to know how it working. Here is the question.. isnt it put the method Iterable positions();? Please help me to figure it out. Suppose we want to extend the PositionalList ADT with a method, indexOf(p), that returns the current index of the element stored at position p. …

Programming java
Member Avatar for Husoski
0
211
Member Avatar for GermanPsycho

Hey, I'm trying to program a group-request system and now I'm struggling a little bit with the code. Well, I'll try my best to explain what I'm trying to do. ![requests.png](https://static.daniweb.com/attachments/4/c8beed25ef34924bc77f3007728ad5d3.png) I want, that when I click the accept button, ONLY the name from the person next to the accept …

Member Avatar for Dani
0
207
Member Avatar for Nymphalys08

Hi, how do you read multiple data types in a file and storing it in a linked list. I read the items with no linked list but when I used linked list it doesnt work. I think there is something wrong in my code. Programming language: C++ Thank you struct …

Member Avatar for pospisil80
0
185
Member Avatar for RC_820

hello all my name is rico, i want make some app like can combine number from input example : i have 4 variable like this $num1 = 96; $num2 = 20; $num3 = 19; $num4 = 37; so how can i get the result like this 9213 9217 9293 9297 …

Member Avatar for RC_820
0
161
Member Avatar for sbaker51

I'm embarrassed to admit that I cannot understand why in this very simple example that the "readln(age);" statement in the "else if" clause ignores the first integer entered in response to the "writeln('How old are you ',name:length(name),'?');" statement aroune line 16. It seems clear that the culprit is the "ch …

Member Avatar for rproffitt
0
154
Member Avatar for eslam ashraf

Mr.Sadik and Ramadan are competing together, both of them wants to become expert on Codeforces first. You will be given two numbers R1 and R2, where R1 is the current rate of Mr.Sadik and R2 is the current rate of Ramadan. Can you determine who will become expert first after …

Programming c++
Member Avatar for Dani
0
152
Member Avatar for Rico_2

I want to create a login system in Codeigniter 4 like this so when the user has logged in on 1 browser / other device, and tries to log back in on another browser / other device then for the first login he will be logged out automatically examples like …

Member Avatar for rproffitt
0
122

The End.