Comment

A. T. M. Kamal
help,
July 9, 2009 at 3:02 PM

i need the from you. plz help me to write a program to display a series 1, 2, 4, 7, 11, 16 ..........100

and 1, 9, 25, 49.........225.

plz hep me over the email.
kamal
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
C++

C Tutorials
C Tutorials       In this section we have given large number of tutorials on C... will be needing a C compiler on your machine. Here are the tutorials of C 

Blog

Site map - C Tutorials
for loop | C Break with Switch statement  | C String length | C array...; C Tutorials  | Java Tutorials | PHP Tutorials  | Linux...; | XPath Tutorials | HTML Tutorials C Tutorial Section C String Reverse 

Programming Tutorials

C++Tutorials
other tutorials, such as C++: Annotations by Frank Brokken and Karel Kubat...; The CPlusPlus Language Tutorial These tutorials explain the C++ language... Borland C++ Builder 3 Page -Tutorials This section of my Builder web 

C Tutorials

C Break for loop
C Break for loop       In this section, you will learn how to use break statement in a for loop. The break statement terminates the execution of the enclosing loop 

C Tutorials

C break continue example
C break continue example     ... to force an immediate jump to the loop control statement. The break statement... negative value and the break statement terminates the loop. Download Source Code 

UML Questions

c++
c++  Characterize the following algorithm in terms of Big-O notation. Also find the exact number of additions executed by the loop. (Assume that all variables are properly declared.) for (int i = 1; i <= n; i++) sum = sum + i 

Java Beginners

c++
c++   Assume vector "x" of integers with values of 7, 3, 5, 8, 1, 9..., x.size()-5 and 0, respectively. Third, assume a for-loop header which: 3.1...-variable-for-which-the-condition-is-true of the value of variable "b"; 3.4) has a loop 

Development process Questions

C++
C++  I have been asked to write a programme that gets five values,gets the sum,average and product please help me 

General

Java Break
to the next statement following the loop statement. Break is one of the controlling statement like continue and return. Break statement can be used in while loop... Java Break       Many 

Development process Questions

C programming
C programming  i am beginner in C my text book says getchar... and printed on screen. Why?please help. #include <stdio.h> int main(void) { int c; while((c=getchar())!=EOF) { putchar(c); return 0; } i 

Java Beginners

Infinite loop in c
Infinite loop in c   When i type my variable as a uint32_t, it returns the infinite loop why? uint32_t i 

Development process Questions

C++ Starter needs help :S
C++ Starter needs help :S  Hi, im 15 & im trying to learn how to program, i am starting with C & C++ since these are (what ive been told... questions abaut C++. Please help! :(   Please visit the following link: C 

Programming Tutorials

C++GraphicsTutorials
C++ Graphics Tutorials     .... This is the first in a number of tutorials that should at least help you on the way to make... in this document is correct. C/C++ Windows programmers who want to learn 

AOP Questions

c++ - AOP
c++  hi friends,i got this question and i need u help. "Two subjects... candidate number.use the for loop statements to develop the program". my friends i rill thank you for all the help u give me.pliz help me out 

General

break
use break.  It gives the following output: C:\javac>... in the following example we have used break statement. In this the inner for loop... break       

Core Java

Break statement in java
happen that we want to come out of the loop in that case break  is used...; loop. Within a loop if a break statement is encountered then control resume...) break; } } } In the above example inside a for loop 

Tutorials

iPhone Loops in objective c
of loop examples, i have discussed about... Do loop in Objective c while loop in objective c for each loop in objective c and for loop objective c 2.0 The loop concept and the usage of it, is almost same as in C & C++ programming 

Tutorials

iPhone for each loop in Objective c
iPhone For each loop in Objective c In general, for each loop is used... it with a small "for each loop in objective c " example. I have... objective c example, moves around the for each loop, how to use it and get 

Development process Questions

c/c++ - Development process
c/c++  Ive been asked to develop a backgammon game using C language. I don't know which code to use to move checkers and to roll die. I would appreciate to get some help. Thanks 

Development process Questions

c/c++ - Development process
c/c++  Ive been asked to develop a backgammon game using C language. I don't know which code to use to move checkers and to roll die. I would appreciate to get some help. Thanks 

Java Beginners

help with substring in c programing
help with substring in c programing  Hi I could not found programming in C in the "select category" so I am posting my question in java section. Please help with substring function,prompt the user for two strings and display 

Development process Questions

C Help - Development process
C Help  Dear sir, I'm developing a program in c using TURBO-C, i want that when my program runs the console window(cmd) should be hidden. program should run in task manager. thnx 

Applet Questions

c programming
c programming  write a program to input five numbers by using while loop in c programing 

Development process Questions

write a program to use for loop print **********========== in c language
write a program to use for loop print **********========== in c language  write a program to use for loop print **========== in c language 

General

C Tutorials
C       Java.... The continue statement skips the current iteration (for while or a do-while loop). ...; Java for C Developers Some times ago, many people believed that Java 

Ajax Questions

c#
c#  how to find out the size of the BMP image in C 

CVS Questions

C++
C++  How can i write this in dev c 

Development process Questions

C++
C++  How can i write this in dev c 

Java Beginners

C Program....PLEASE HELP
C Program....PLEASE HELP  For this assignment, you are to write a program that calculates points along a rhodonea curve, a.k.a. a mathematical rose..., and pointers. I am lost and need a little help starting please *int fillArray 

Development process Questions

c++
c++  use a prgrm as an example to xplain-: a)class b)object c)message d)cope resolution operator 

Ajax Questions

c#
c#  how to find out the size of the BMP image 

Development process Questions

c++
c++  write a programme that calculates the area and circumference of a rectangle 

Development process Questions

C++
C++  dear sir How to create windows form application for login screen using C++? USER Name -TESTADMIN Password -testuser 

Java Beginners

c++
c++  i use turbo c++...i want to change the background color...what is the command for it and the header file used 

Java Beginners

c++
c++  i use turbo c++...i want to change the background color...what is the command for it and the header file used 

Java Beginners

c++
c++  i use turbo c++...i want to change the background color...what is the command for it and the header file used 

General

Java Break continue
category. 'break' allows users to give end to a loop whereas with 'continue...]); i++; if(c[i] == c_1) break; else continue... Java Break continue      

Development process Questions

C++
C++  differenciate btw.-a)local & public variables b)pre-defined & user defined functions c)fnctn prototype,defination & fnctn code.use code examples 

Development process Questions

c++
c++  differenciate btw.-a)local & public variables b)pre-defined & user defined functions c)fnctn prototype,defination & fnctn code.use code examples 

Development process Questions

c++
c++  differenciate btw.-a)local & public variables b)pre-defined & user defined functions c)fnctn prototype,defination & fnctn code.use code examples 

Design concepts & design patterns Questions

C++
C++  Trace the bubble sort using the following integers,which represent the elements in an array. 5,7,3,8,6,7,3 

Development process Questions

c++
c++  write a prgrm tht accepts 3 integer values,then with a function to swap the values 

Java Beginners

C++
C++  Describe the principle advantages of deploying a linked list versus a static array when implementing a Queue or a Stack 

Java Beginners

how to i convert this case to loop...please help.....
how to i convert this case to loop...please help.....   */ import..."); System.out.println("| c. Add a new elements in front of the list... 'a': AppendElement(); case 'b': AddElementSpecific(); case 'c 

Java Beginners

how to i convert this case to loop...please help.....
how to i convert this case to loop...please help.....   */ import..."); System.out.println("| c. Add a new elements in front of the list... 'a': AppendElement(); case 'b': AddElementSpecific(); case 'c 

Java Server Faces Questions

how to i convert this case to loop...please help.....
how to i convert this case to loop...please help.....  import..."); System.out.println("| c. Add a new elements in front of the list...(); case 'b': AddElementSpecific(); case 'c 

Java Server Faces Questions

how to i convert this case to loop...please help.....
how to i convert this case to loop...please help.....  import..."); System.out.println("| c. Add a new elements in front of the list...(); case 'b': AddElementSpecific(); case 'c 

Java Server Faces Questions

how to i convert this case to loop...please help.....
how to i convert this case to loop...please help.....  import..."); System.out.println("| c. Add a new elements in front of the list...(); case 'b': AddElementSpecific(); case 'c 

Java Server Faces Questions

how to i convert this case to loop...please help.....
how to i convert this case to loop...please help.....  import..."); System.out.println("| c. Add a new elements in front of the list...(); case 'b': AddElementSpecific(); case 'c 

Java Server Faces Questions

how to i convert this case to loop...please help.....
how to i convert this case to loop...please help.....  import..."); System.out.println("| c. Add a new elements in front of the list...(); case 'b': AddElementSpecific(); case 'c 

Java Server Faces Questions

how to i convert this case to loop...please help.....
how to i convert this case to loop...please help.....  import..."); System.out.println("| c. Add a new elements in front of the list...(); case 'b': AddElementSpecific(); case 'c 

Java Server Faces Questions

how to i convert this case to loop...please help.....
how to i convert this case to loop...please help.....  import..."); System.out.println("| c. Add a new elements in front of the list...(); case 'b': AddElementSpecific(); case 'c 

Java Beginners

how to i convert this case to loop...please help.....
how to i convert this case to loop...please help.....   */ import..."); System.out.println("| c. Add a new elements in front of the list... 'a': AppendElement(); case 'b': AddElementSpecific(); case 'c 

Java Beginners

how to i convert this case to loop...please help.....
how to i convert this case to loop...please help.....   */ import..."); System.out.println("| c. Add a new elements in front of the list... 'a': AppendElement(); case 'b': AddElementSpecific(); case 'c 

Java Server Faces Questions

how to i convert this case to loop...please help.....
how to i convert this case to loop...please help.....  import..."); System.out.println("| c. Add a new elements in front of the list...(); case 'b': AddElementSpecific(); case 'c 

Java Server Faces Questions

how to i convert this case to loop...please help.....
how to i convert this case to loop...please help.....  import..."); System.out.println("| c. Add a new elements in front of the list...(); case 'b': AddElementSpecific(); case 'c 

Java Server Faces Questions

how to i convert this case to loop...please help.....
how to i convert this case to loop...please help.....  import..."); System.out.println("| c. Add a new elements in front of the list...(); case 'b': AddElementSpecific(); case 'c 

Java Beginners

C#
C#  i need a code that will make program perform the basic operations upon the data Listview save, update and cancel 

Development process Questions

c programing
c programing  Write 2 implementations of C's string copy routine, one with a loop and the other using recursion. What is the security risk with this routine? The function should have the signature: char* strcpy(char* destination 

Development process Questions

c programing
c programing  Write 2 implementations of C's string copy routine, one with a loop and the other using recursion. What is the security risk with this routine? The function should have the signature: char* strcpy(char* destination 

IoC Questions

C Program
C Program  Why doesn't the code int a = 1000, b = 1000; long int c = a * b; work? plz help me sir 

Development process Questions

C Language
C Language  What's the right declaration for main()? Is void main() correct? in C language ? please help me sir ! Thank You 

Java Beginners

C Structure
C Structure  Respected sir, Can a structure in C contain a pointer to itself ? if yes means how sir ? plz help me sir 

Development process Questions

C#
C# register form  i want to generate a user id automatically after filling their register form and i want to show their id to their email? please reply me soon 

UML Questions

c++
c++  Consider the following function: int funcExercise7(int list[], int size) { int sum = 0; for (int index = 0; index < size; index++) sum = sum + list[index]; return sum 

UML Questions

c++
c++  Consider the following declarations: class xClass { public: void... private members does class xClass have? c. How many constructors does class xClass.... Write a C++ statement that prints the values of the data members of the object 

Development process Questions

c++
c++  .write a program that accepts 5 subjects of a student,it should have a function to calculate the average & another function to grade.grade should be as follows-<40=E,40-49=D,50-59=C,60-69=B & >70 

Development process Questions

c++
c++  write a prgrm tht calculates the surface area of a cylinder.the prgrm shld find the circumfrance and have a function that calculates the fadius and another to calculate the surface area 

Development process Questions

C++
C++  write a prgrm tht gets five values,gets the sum,average &...; #include <conio.h> void main() { clrscr(); int a,b,c,d,e,sum; float average...;>b>>c>>d>>e; sum=a+b+c+d+e; average=sum/5; product=a*b*c*d 

Spring Framework Questions

c++
c++  write a program that gets a key or character from the keyboard and displays it ASII code in decimal, hexadecimal and binary form.It must also give a description of the key pressed 

JSP Servlet Questions

<c:forNext/> - JSP-Servlet
} Now call the forNext loop set variables... help would be greatly appreciated. Thanks much, Bill  Hi friend... for the help. You have just recreated all my code. Good job. I knew how to do all 

UML Questions

c++
c++  Consider the following declarations: class xClass { public: void func(); void print() const; xClass (); xClass (int, double); private: int u... private members does class xClass have? c. How many constructors does class xClass 

CVS Questions

c++
c++  Write a console based C++ program that reads student information from a text file, build an array of objects of type class StudentInfo... name with the minimum GPA 7) Display Student GPAs as Letter Grades (A, B, C, D 

UML Questions

c++
c++  Characterize the following algorithm in terms of Big-O notation. for (int i = 1; i <= n; i++) for (int j = 1; j <= n; j++) for (int k = 1; k <= n; k++) cout << i + j + k 

UML Questions

C++
C++  . Consider the definition of the following class: class CC { public: CC(); //Line 1 CC(int); //Line 2 CC(int, int); //Line 3 CC(double, int); //Line 4 . . . private: int u; double v 

Development process Questions

c++
c++  .write a prgrm tht accepts 5 subjects of a student,it shld hv a function to calculate the average & another function to grade.grade shld be as follows-<40=E,40-49=D,50-59=C,60-69=B & >70 

UML Questions

c++
c++  Write the definition of the class dayType that implements the day of the week in a program. The class dayType should store the day... on an object of type dayType: a. Set the day. b. Print the day. c. Return the day 

Java Tips and Examples

Java - Break statement in java
break statement and exit from the loop and loop is terminated. The break...;javac Break.java C:\chandan>java Break The Prime number in between 1 - 50... Java - Break statement in java      

Development process Questions

c++
c++  write a programme that calculates the area and circumference of a rectangle   #include<conio.h> #include<iostream.h> class rect { int l,b; int area; int peri; public: void get_rect() { cout<<"\n 

Java Beginners

C Language
C Language  Respected sir, Why does sizeof report a larger size than I expect for a structure type, as if there were padding at the end? help me sir 

Java Beginners

C language
C language  i want that when i hit any key only * to be print not the hit key in c language   The given example will display aestricks...(); if(ch == 13) { break; } else if (ch == 8 

IoC Questions

C Language
C Language  Respected Sir, How can I determine the byte offset of a field within a structure? How can I access structure fields by name at run time? please help me sir . Thank you sir 

IDE Questions

Need urgent help with C++ errors!
Need urgent help with C++ errors!  hi, i'm new to C++ programming. this is my code... i'm using Turbo C++. It's showing so many errors!.. I don't know what to do. Please help!! #include<iostream.h> void main 

Java Beginners

loop
loop  strong textHello can someone help me with this problem,I need to output the following code using a loop the code is as follows with the user...(); if(code.equals("XX")){ break 

iPhone

Objective C
Objective C tutorials. We will be explaining the programming language with easy to learn examples. You will find these Objective C tutorials very useful... Objective C       

Java Beginners

While loop break causing unwanted output
While loop break causing unwanted output  Below I will paste my code... not understanding which is"hack2@1f24bbbf". Any help will be greatly appreciated...{ System.out.println("You are correct");} break 

Development process Questions

C# code
C# code  hi pls clear my doubts this is my code but out is not well... help me thank you, protected void Button3_Click(object sender, EventArgs e... pls help me any one thanks 

Java Beginners

hi need help with C++ programming!
hi need help with C++ programming!  how do i : b. Store numbers / characters into the file (output) c. Retrieve numbers / characters from the file...; "Unable to open file"; return 0; } c) #include <iostream> #include < 

IoC Questions

Array in C
Array in C  Respected Sir, How can an array be an lvalue, if we can't assign to it? How can I set an array's size at run time? How can I avoid fixed-sized arrays? help me sir 

Tutorials

iPhone Do loop in Objective c
iPhone Do loop in Objective c As you know, the concept of loop is almost same in objective c programming. So, here in this tutorial of "Do loop in Objective c...[]) {     //Do Loop in Objective c 

Development process Questions

C,C++
C,C++  Sir, 100&30 gives output 4 in C++ and 100|30 gives output 116 How & and | gives output 4 and 116 

Tutorials

NSString in objective c
NSString in objective c In this series of Iphone application development tutorials, we going to introduce you with some of the iphone basic classes and objects...that are used in objective C. NSString is one of them. Brief Introduction 

Development process Questions

C,C++
C,C++  int i=100,j=20; int c=i&j; int r=i|j; printf("%d",c); printf("%d",r);   #include<stdio.h> #include<conio.h> void main(){ int i=100,j=20; int c=i&j; int r=i|j; printf("%d",c); printf("%d",r 

Java Beginners

What is the difference between a break statement and a continue statement?
to exit from a loop before the completion of the loop program we uses the break...What is the difference between a break statement and a continue statement?   Hi, What is the difference between a break statement and a continue 

JSP Servlet Questions

help me on jstl- <c:url> - JSP-Servlet
help me on jstl c:url  what is jstl in java 

Development process Questions

all c library functions
all c library functions  hi dear c coders, i need all c library functions with a detailed explanation. Who can give me usefull link? thanks beforehand!   Hi Friend, Please go through the following link: C Tutorials 

SQL Question

C program - SQL
C program  Thank You . Write some C programs using pointers . Write some C programs using files. Please reply me .   Hi Friend, Please visit the following link: http://www.roseindia.net/c 

Java Interview Questions

about c and java
://www.roseindia.net/c-tutorials/ http://www.roseindia.net/interviewquestions...about c and java   i need java and c language interview and objective questions with answers for the fresher.please provide to me   Please 

Framework Questions

write code in c#
write code in c#  sir I want to write a save and save as code in the c#(windosForm).Please help me 

Java Beginners

using switch,break and for loop
using switch,break and for loop  generate a 10 digit number and display the length of longest increasing series 

Advertisements Advertisements
 

 

 

DMCA.com