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
The #define Directive The #define directive explains a macro which is a text string represented by a name. Whenever the pre-processor finds this name in the program, it is repl
Create the following program or propose one of your own. The program must include at least one of each of the following. Decision structure Repetitive structure fu
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
Insertion sort - C program: Write a program in c to define a insertion sort. void main() { clrscr(); int a[100],ch,n; cout cin>>n; for (int i=0
Program to define an array in c: Write a program to define an array and print the value of array. void main() { int a[10]={0,11,21,34,44,75,46,57,88,89},i,j,k; clr
Write a program to calculate the timetable for numbers 1 -> 10 and display them as follows. Your solution should use for do loops #include stdio.h void main() { char p
can you tell me what is c#
Default Arguments A default argument is a value that is automatically assigned to a formal variable, if the actual argument from the function call is omitted. e.g. void
In this problem you are given a board in which some of the elements are placed as shown in diagram below. Each element represents a color. Fill the other elements in the board, suc
How can one make it so keys pressed through users are not echoed on the screen? A: It is not a standard C++ feature. C++ doesn't even need your system to have a keyboard or a sc
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