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
For this program you will add and test 2 new member functions to the IntSLList class posted on the website. The two member functions are: insertByPosn(int el, int pos) Assuming t

Inline functions, C++ provides inline functions to help reduce function_call overhead especially for small functions. The qualifier inline before function's return type in the f


I need a client-server architecture program for windows OS (minimum support: Win 7),. the agent program will run as a background process and perform certain tasks every X time, and

how objects are initialized dynamically?

Purchasing Code Signing Certificate I want to purchase a Code Signing Certificate in good standing from someone in order to sign my .EXE programs with. Please be aware I do n

please answer the question of following Write a function that calculates the number of elapsed days between two dates. For example the days between Feb 3, 1970 and June 21, 1980? B

Produce data from fixed OCR areas scanned. Project Description: Project is to design software which can use character recognition only on certain areas of scanned puff's/ jpe

#include "stdafx.h" #include iostream using namespace std; int _tmain(int argc, _TCHAR* argv[]) {             int NumbHold[5];             int * ptrNumb;

How would I use variables of a C++ object within a Lua function, and then call the Lua function from C++ code?