Wap to print numbers from 1-50 which are divided by 7, C/C++ Programming

WAP TO PRINT NUMBERS FROM 1-50 WHICH ARE DIVIDED BY 7

void main ()

{

int a;

clrscr ();

a=1;

while (a<=50)

{

if (a%7==0)

printf ("%d\n",a);

a++;

}

getch ();

}

 

Posted Date: 9/10/2012 9:10:57 AM | Location : United States







Related Discussions:- Wap to print numbers from 1-50 which are divided by 7, Assignment Help, Ask Question on Wap to print numbers from 1-50 which are divided by 7, Get Answer, Expert's Help, Wap to print numbers from 1-50 which are divided by 7 Discussions

Write discussion on Wap to print numbers from 1-50 which are divided by 7
Your posts are moderated
Related Questions
Write a program to calculate the total resistance of a series or parallel circuit. The maximum number of resistors is two.   We need to decide whether the user wants the to


Define Pure Virtual Function? Why & when it is used?

palindrome program with minimum character replacements

A company needs 200 pencils per year . you cannot simply use this price as the cost of pencils two years from now. Because of inflation the cost is likely to be higher than it is

write a simple c++ program to implement a stack: 1. push 2. pop

i have a project in BDD(Binary Decision Diagram).. where i have to use BDD library...i m using cudd package which uses BDD technique...i download cudd package..try to run in vc++ 6

The rPeANUt simulator provides buffering of the characters that are typed into the terminal. However, this would generally not be the case so if the program did not consume a chara

Rahul is a newbie to the programming and while learning the programming language he came to know the following rules: ???• Each program must start with ''{'' and end with '

#include long BixFunction(int x, int y = 5, float z = 5) { return(++x * ++y + (int)++z); } int main() { cout return 0; }