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
Structures A structure is a user-defined data type, which may have different data types as its members. Creating a structure is a two-part process. First, a structure template
Explain the parts of operators Assignment Operators The equal (=) sign is used for assigning a value to another. The left hand side has to be a variable (lvalue, which exc
How to insert values in array - c++ program: Write a program to insert values in array void main() { int a[2][3][2]={ {
fine the class bankAccount to implement the basic properties of a bank account. An object of this class should store the following data: Account holder''s name (string), account nu
assume that the first integer read with cin specifies the number of values remaining to be entered. that program should read only one value each time cin is executed .a typical inp
Static Member Functions All the objects of the class share static data members of a class. The example above demonstrates how to keep track of all the objects of a class which
i am using mobile phone if i want to communicate via massage but that should be very secret
write a program to accept ten numbers and display the total
Object Initialization An object of a derived class can be initialized to an object of a base class. If both the classes have similar data members, then no specific constructor
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