2,720 Recommended Topics
Remove Filter | |
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 | |
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 | |
May i knw how to write a program that can set goal, record food/drink consumed and record foodcomposition??? | |
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!!! | |
I am confusing about where software development outsourcing are in better quality ? | |
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 | |
function to add two numbers, taking as arg/param & using inputs. Programming python | |
| |
<! 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 … | |
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 … | |
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 … | |
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 … | |
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++ | |
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 | |
<?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 … | |
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 | |
I know more information about this topic | |
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 | |
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 … | |
<?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"> … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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++ | |
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 … |
The End.