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
Question 1 Create a class String which stores a string value. Overload ++ operator which converts the characters of the string to uppercase (toupper() library function of "ctype.h
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
Objective: Construct a C program that controls the LCD display, and is capable of displaying strings. Add functions to the C program that allows more control over the display.
Presently we are using several spreadsheets to give weekly activity and income reports. Much of the information is being frequently re-keyed into several spreadsheets - we are look
Describe the “placement new" and why would I use it?
Write a function to calculate the exchange rate of pounds to dollars Answer Td = 2xTp The parameter passed over is the number of pounds and returned the value in do
For your class to work properly, you'll need to define appropriate constructors, extract and insert operators, and of course arithmetic operators. (If you wanted to use it as a gen
program to write superposition of waves using class and objects
Molecular dynamics for a Lennard-Jones system (in C++) 1. Write a function which reads in the input variables of a molecular dynamics simulation of a Lennard-Jones system. The inpu
Define a class polynomial with three private data members a, b and c of type double to represent the coefficient of two degree polynomial(ax^2+bx+c). Include a constructor in a pol
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