Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
repetition
- Page 1
Re: Writing and speaking clearly
Community Center
Geeks' Lounge
4 Hours Ago
by Reverend Jim
>I can write much better than I speak. As do I. Plus when I write I can edit and organize during and after the fact. I find it difficult these days to speak a complete thought without someone interrupting. By the way,
repetition
can be an effective tool when trying to make a point. But like salt, a pinch is sufficient.
Repetition
Programming
Software Development
15 Years Ago
by Se7Olutionyg
… >> score; } and I am not clear about this
repetition
, can you explain it to me in a simple way…
Re: Repetition
Programming
Software Development
15 Years Ago
by Denniz
Take away this line: [CODE] return displayGrade; [/CODE] As for the loop, it will keep on prompting you for the next score, until you enter -1 then it will come out of the loop.
Re: Repetition without using a loop
Programming
Software Development
13 Years Ago
by Democles
Based on my knowledge no matter which way you do it. It will require some sort of
repetition
which will require a for loop or a while loop. You'll have to have some sort of loop or counter. I am not aware of a method that does this for you. It's possible you might be able to find one in a third-party library.
Re: repetition of "define"
Programming
Web Development
11 Years Ago
by diafol
Difficult to say, your thread title is '
repetition
of "define"', so other users will access it …
Re: Generating a random number without repetition
Programming
Software Development
14 Years Ago
by rlhh
…k,l; //loop initilizers int count =-1; //to check for
repetition
int num; int grid[3][3] = {}; srand(time(NULL));…(l=1;l<=3;l++) //checking the column for
repetition
{ if(grid[k][l]==num) count++; } } if(count&…
Generating a random number without repetition
Programming
Software Development
14 Years Ago
by rlhh
…for(k=1;k=3;k++) //checking the row for
repetition
{ if(grid[k][j]=num) count++; } for(l=…1;l=3;l++) //checking the column for
repetition
{ if(grid[i][l]=num) count++; } if(count&…
Help on the repetition loop
Programming
Software Development
14 Years Ago
by ttboy04
… of repetion from user request. So basically there will be
repetition
print out of the times table when the user enter… [CODE]int number; { number= Integer.parseInt(Dialog.input("Enter
repetition
?")); number= Integer.parseInt(Dialog.input("Which timestable do…
Re: Generating a random number without repetition
Programming
Software Development
14 Years Ago
by abhimanipal
…. Initialize count to -1 3. When you are checking for
repetition
, you have to use == to = 4. I dont think the… logic you have used for checking
repetition
is correct as well. What I would do would be…
Re: Help on the repetition loop
Programming
Software Development
14 Years Ago
by phoenix911
…] int number; { number= Integer.parseInt(Dialog.input("Enter
repetition
?")); number= Integer.parseInt(Dialog.input("Which timestable do …; int number2; { number2= Integer.parseInt(Dialog.input("Enter
repetition
?")); number= Integer.parseInt(Dialog.input("Which timestable do…
Re: Generating a random number without repetition
Programming
Software Development
14 Years Ago
by jephthah
if you can guarantee non-
repetition
, then your numbers aren't random.
Preventing the repetition of charges when adding to columns?
Programming
Databases
15 Years Ago
by jtok
… of parts and service. This, of course, results in a
repetition
of charges.) I am open to completely changing the way…
Number of each character repetition in a string
Programming
Software Development
15 Years Ago
by sahasrara
Dear all This code first read a string then shows number of
repetition
of each character . I wrote it by Borland 5.02 . Good Luck !
There is a repetition in windows when using jQuery Dialog with GridView inside an UP
Programming
Web Development
13 Years Ago
by OSM101
… inside an UpdatePanel. The problem is that there is a
repetition
when preforming more than one operation. For example, when updating…
How to shuffle deck without repetition?
Programming
Software Development
12 Years Ago
by 4everct01
… having some problem in shuffling the deck. There are some
repetition
after it shuffle. Any solution for it>? [CODE] #include…
keyword repetition in title tag
Digital Media
Digital Marketing
Search Engine Strategies
12 Years Ago
by webmaster@123
I need a clarification regarding keyword
repetition
in title tag The question is how many times a …
JOIN query repetition pickle
Programming
Web Development
11 Years Ago
by furlanut
… re-define the $row index in some way to avoid
repetition
of the fields. I have been using 3 separate SELECT…
Repetition (For and While)
Programming
Software Development
14 Years Ago
by dag7399
1.write a program that asks the user to type 10 integers and writes the sum of these integers.Using [B]for[/B] loop.Can anybody help me with this question??
Re: Repetition (For and While)
Programming
Software Development
14 Years Ago
by Ancient Dragon
>>Can anybody help me with this question?? Yes, start here. Then post the code that YOU have written and ask some questions if you need to. Read in your text book about loops. [code] #include <iostream> using namespace std; int main() { // put your program here } [/code]
Re: Repetition (For and While)
Programming
Software Development
14 Years Ago
by mrnutty
Do you know about arrays yet?
Re: Repetition (For and While)
Programming
Software Development
14 Years Ago
by dag7399
[QUOTE=firstPerson;997604]Do you know about arrays yet?[/QUOTE] nope.can you help me solve my problem??please...
Re: Repetition (For and While)
Programming
Software Development
14 Years Ago
by dag7399
hey there FirstPerson.I m new with c++ so i think i m zero with it.can you help me with my problem??
Re: Repetition (For and While)
Programming
Software Development
14 Years Ago
by mrnutty
Sure. Start with Ancient Dragon code. I think you are expected to use arrays, otherwise using a for loop is pointless with for this program. Then create 10 int variables like so : [code] int TenVariable[10]; [/code] use for loop to ask user to input variables; [code] for(int i = 0; i < 10; i++) { cout<<"Enter variable number :…
Re: Repetition (For and While)
Programming
Software Development
14 Years Ago
by dag7399
As you know firstPerson i m new with c++.I m think i m a litle bit blur what just you tech me..Sorry.Could you solve my c++ question entirely??with example also??
Re: Repetition (For and While)
Programming
Software Development
14 Years Ago
by mrnutty
its solved. Copy Ancient dragon code. And place my code into main. And run.
Re: Repetition (For and While)
Programming
Software Development
14 Years Ago
by siddhant3s
>>nope.can you help me solve my problem??please... >>hey there FirstPerson.I m new with c++ so i think i m zero with it.can you help me >>with my problem?? >>As you know firstPerson i m new with c++.I m think i m a litle bit blur what just you >>tech me..Sorry.Could you solve my c++ question entirely??with …
Repetition
Programming
Software Development
12 Years Ago
by kagotsky
[B]Can anyone know what program what's the best for this problem?[/B] -->Create a program that will compute for the sum of all even numbers among the ten integers inputted and print them out. Thanks in advance!:)
Re: Repetition
Programming
Software Development
12 Years Ago
by Ancient Dragon
Homework? Here is where to start [code] #include <stdio.h> int main() { // put your code here } [/code]
Re: Repetition
Programming
Software Development
12 Years Ago
by syria718
just make a loop for that!!! its just a simple problem....you can do it just trust your intelegence
Re: Repetition
Programming
Software Development
12 Years Ago
by arindam31
You can try this........I took the labor to not take input for my convinience [CODE]#include<stdio.h> void main() { int n[]={1,2,3,4,5,6,7,8,9,10}; int i , total; total=0; for(i=0;i<10;i++) { if(n[i]%2==0) //Checking for even numbers total = total + n[i]; } printf("%d",total); }[/CODE]
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC