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

How many levels deep can include files be nested? - As such, there is no limit to number of levels of nested include files you can have however your compiler might run out of s

how to do an array

how to make the coding

WAP TO SWAP THE THREE DIGIT NUMBER void main () { int b,r,n,r1,r2; clrscr (); printf ("Enter the Value: "); scanf ("%d",&n); r=n%10; n=n/10; r1=n%10;

Create a Document that show information about albums. First create a paragraph or two about the purpose of the page and your interests in music: genres, styles, etc. Next have a

The absolute land-speed record of 763.035 MPH (Mach 1.02) was set in October 15 1997 by a jet-powered car called Thrust SSC in the Black Rock Desert of northern Nevada. The team th

A: BinarySearchTree.h ---------------------- #ifndef BINARY_SEARCH_TREE_H_ #define BINARY_SEARCH_TREE_H_ #include "dsexceptions.h" #include // For NULL // Binary

Ask question #Minimum 100 words awhat is the pre condition for binary searching ccepted#

Program is to display the contents of file on a screen: Write a program to display the contents of file on a screen void main()   {  clrscr();  ifstream fin("ascii