Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
C Program for MULTIPLICATION TABLE
main()
{
int a, b=1, c, d;
char ch;
clrscr();
while(ch!='n')
printf("ENTER THE NO. WHICH TABLE DO YOU WANT?: ");
scanf("%d",&a);
printf("ENTER MAX. NO.: ");
scanf("%d",&c);
}
while(b<=c)
d=a*b;
printf("%d * %d = %d\n",a, b, d);
b=b+1;
printf("DO YOU WANT TO CONTINUE?\n");
flushall();
scanf("%c",&ch);
if(ch=='n')
printf("BYE...BYE...\n");
getch();
OUTPUT :
ENTER NO: 4
ENTER THE MAX NO: 5
4 * 1 = 4
4 * 2 = 8
4 * 3 = 12
4 * 4 = 16
Problem #1: plugging the memory leak. When you employ the "normal" new operator, for example Foo* p = new Foo(), the compiler generates some special code to manage the case while t
Abstract Classes Abstract classes are the classes, which are written just to act as base classes. Consider the following classes. class base
Unions A union is also like a structure, except that only single variable in the union is stored in the allocated memory at a time. It is a collection of mutually exclusive var
A: The answer to this lies actually, how they used. Along ++i(PreIncrement) the variable is incremented and new value is returned. Thus it needs one instruction to increment the va
Solve the Nine Queens problem recursively. The objective is to place nine queens on an empty chessboard so that no queen is “attacking” any other, i.e., no two queens are in the sa
Literals (Constants) Constants are data storage locations whose address is not accessible for the user. Their value is not altered during the course of the program. Literal
Develop a C++ program that uses a while to determine the gross pay (in Dollars) for each of several employees. The company pays “straight-time” for the first 40 hours worked by eac
d 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. Necklaces
Explain about the Constants in c language? The Constants in C refer to fixed values that don't change during the execution of a program. C has four fundamental types of constan
Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd