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
Define the Data Types of c language? The C has a concept of 'data types' which are used to define a variable before its use and the definition of a variable will assign storage
P o i n t e r d e c l a r a t i o n f o r d a t a m e m b e r : M e t h o d 1 : i n t M : : * p x ; / / T h i s
The code contains two built-in pitfalls. First one, if it executes in a member function for an static, extern or automatic object, the program will possibly crash as soon as the de
Program is to store marks and name, roll no in a file: class stud { int rno; char name[20]; int m1,m2,m3; public: void acce
Pointer Arithmetic We can manipulate the pointers too. We can perform operations such as addition, subtraction, increment and decrement etc.,. As the pointer variables have add
A: (a) int foo = 123; (b) int bar(123);
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
Define the Bitwise-Exclusive-OR Operator: ^: The bitwise-exclusive-OR operator (^) compares every bit of its first operand to the corresponding bit of its second operand. If on
Two numbers to be subtracted using bitwise operations
redirection in c++
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