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 fully modular C program that reads in a string of a defined size from the keyboard and reports how many times each letter of the alphabet occurs within that string (ignorin

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec

1. The main program must be in a file called A4.cpp 2. The data must be read in from a data file.  The user must enter the filename.  A sample data file will be provided on Mood

when you allocate memory with new[], you ought to free the memory via delete[]. While you allocate memory along 'new', then use 'delete' with no the brackets. You employ new[] to a

Objects as Function Arguments: In C program there are several methods to define arguments, and in some case even a structure can be approved as an argument.  Similarly in C+

write a cprogram to calculate fraction through recursion

how i can open a file

c++ coding decode the letters from numbers

Explain the Defination and Declaration of Union? Generally in terms the composition of a union may be defined as be as union tag { member 1; member 2; member m; }; Wh

Problem : Luminous Jewels - Polishing Necklace Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of v