HTML tags are used to perform various works in a webpage. To design and decorate an html page we need to use right html tags. Here we will learn about some popular html tags that have wide use. The main two section of a webpage are the head section and the body section. But both the head and body section of a webpage reside inside html tag. The Head and Body section : We start writing html code like below <!DOCTYPE html> <head> <title> Inside head tag we write title tag. Title tag displays the title/name of a page. </title> <meta name="" content="" /> <meta property="og:url" content="http://www.ranjanbarman.org/Briefly-discuss-about-HTML-tags.html" /> <meta property="og:type" content="website" /> <meta property="og:title" content="Briefly discuss about HTML tags" /> <meta property="og:description" content="HTML tags are used...
First we must download the Java SE Development Kit from (http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html). Then install it. After that set the path variable. Next write the following code in any text editor and save it [with it’s class name.java] in a particular location . Open CMD and set the saved file location. Then write javac filename.java and press enter. Then type java filename and press enter. Program code: import java.util.Scanner; class MatrixMultiplication { public static void main(String args[]) { Scanner r = new Scanner(System.in); System.out.println("Enter the number of rows of first matrix"); int rowFM = r.nextInt(); System.out.println("Enter the number of columns of first matrix"); int colFM = r.nextInt(); int first[][] = new int[rowFM][colFM]; System.out.println("Enter the elements of first matrix"); int loop1, loop2; for ( loop1 = 0 ; loop1 < rowFM ; loop1++ ) { for (loop2 = 0 ; loop2 < co...
Steps: 1. Open DEV C++. 2. Click “File” then “New” after that “Project”. 3. From “Basic” select “Wildows Application”. 4. Select “C++ project”. 5. Give a project name. 6. Click “ok” then “save”. Remove some code and write according to below program. #include <windows.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { int nResult=MessageBox(NULL, “An example of Cancel, Retry, Continue”, “Hello Message Box!”, MB_ICONERROR|MB_ABORTRETRYIGNORE); switch (nResult) { case IDABORT: break; case IDRETRY: break; case IDIGNORE: break; } return 0; } Steps: 1. From “Execute” menu click on “Compile and run”. 2. Give it a name and save it. 3. Wait until your compilation is completed by the compiler. 4. Hope you get your output.
Comments
Post a Comment