Goto Statement In CPP
Goto statement is also known as Jump statement. It directly jumps to the specified label. It is also used to move the control to the other part of the program.…
Goto statement is also known as Jump statement. It directly jumps to the specified label. It is also used to move the control to the other part of the program.…
A simple CPP Program for matrix multiplication. Matrix 1- 1 2 3 4 5 6 …
Admission form using Graphics Form designing using C++ Graphics. #include<iostream.h> #include<graphics.h> #include<conio.h> void main() { int driver,mode; driver=DETECT; initgraph (&driver,&mode,””); moveto(250,2); settextstyle(1,HORIZ_DIR,4); outtext(“B A B A”); line(205,38,420,38); moveto(200,40); settextstyle(1,HORIZ_DIR,2); outtext(“COMPUTER…
An operator is a symbol which is used to perform some operation on variables, operands and with the constant. Types of Operators: Arithmetic Operator Assignment Operator Increment Operator Decrement Operator…
The structure is a group of the different data type. #include<iostream.h> #include<conio.h> struct student // it will create a new data type. { int rollno; char name[10]; // student is…
A simple CPP program to print the form by using gotoxy and it will calculate total, percentage, and grade. -You can set the coordinate by using gotoxy() function. #include<iostream.h> #include<conio.h> void…
The sum of the cube of individual digits of a number is equal to the number itself is called Armstrong number. #include<iostream.h> #include<conio.h> void main() { clrscr(); int a,n,rev=0,x; cout…
A Palindrome number is that type of number when we reverse the number it remains the same. eg: 12321 A user is asked to enter a number then we will reverse…
A simple program to find out the diagonal matrix. A diagonal matrix is that type of matrix which has non-zero elements in the diagonal only. #include<iostream.h> #include<conio.h> void main() {…
sizeof is a keyword. It determines the size in bytes of variables and datatypes as seen in the example. #include<iostream.h> #include<conio.h> void main() { clrscr(); cout << sizeof(int) << endl;…