Posts

Showing posts from June, 2015

Program to add two Matrices

Image
Addition of two matrices is the simplest operation one can perform on matrices. It just requires the basic knowledge of addition of numbers. One must also keep in mind that only the like matrices can be added together. By the term “LIKE” I mean that only the matrices with same number of rows and columns. Follow on with the examples given below to first understand the addition of two matrices:   Consider the following two matrices which are being added: To add them just add the pairs of entries, and then simplify for the final answer: So the answer is: Running Program Code: #include<iostream.h> #include<process.h> #include<iomanip.h> #include<conio.h> const int max= 10 ; void line(int); void main() { clrscr(); char ch; int A[max][max],B[max][max],C[max][max],m,n,i,j; cout<< "\n\n\t\tTHIS WILL ADD TWO MATRICES\t\t\n" <<endl; cout<< "\n\nFor adding two matrices, both should be square matrix...

10s of Windows 10

Image
Windows 10 is a forthcoming version of the Microsoft Windows operating system. Its development was aimed with an intention to overcome the shortcomings introduced in Windows 8 and 8.1. Microsoft Windows 10 was first hinted at the Software Giant’s Build Conference in April 2014, claimed to be working on an update to Windows 8, which was codenamed as Threshold. There were speculations that Threshold would be branded as "Windows 9" when released for the public. The user interface of Windows 10 has been primarily optimized based upon its experience on the type of device (touch or non-touch) and available inputs devices, providing "the right experience on the right device at the right time." 10 new features in Windows 10: The prominent changes and the new features brought in by Microsoft in Windows 10 with respect to its previous versions of Windows have been described below: 1) Start Menu This is a good news to all the Windows 8 users who missed a Sta...

Subtract two matrices - Program and concept

The concept and the program to subtract one matrix from another is similar to the addition of two matrices expect for the replacement of sign '+' with '-'. Subtraction of matrices is only possible if the two matrices are ALIKE in nature i.e. have same number of rows and columns. Running program code: #include<iostream.h> #include<process.h> #include<iomanip.h> #include<conio.h> const int max=10; void main() { clrscr(); char ch; int A[max][max],B[max][max],C[max][max],m,n,i,j; cout<< "\n\n\t\tTHIS WILL Subtract two matrices\t\t\n" <<endl; cout<< "\n\nFor subtracting two matrices, both should be ALIKE..." ; cout<< " and of equal dimension\n" <<endl; cout<< "\nEnter column of the matrix : " ; cin>>m; cout<< "\nEnter row of the matrix : " ; cin>>n; cout<<endl; cout<< "\n\nEnter the FIRST matix (row wise) : " ...

80 percent of you will gladly upgrade to Windows 10 on July 29

Image
Earlier this week, Windows Central conducted a poll asking how many of you would take the free upgrade to Windows 10 on July 29. It is an interesting question because presumably not everyone wants a fresh OS on 'day one'. Instead, some users may wish to wait for reviews from their trusted sources, or wait a couple of months for Microsoft to patch any holes through software updates. Four days later and we have the results. In one of our highest response rates ever to a poll, 9,104 of you gave us your answer. To prevent repeat or 'bot' voting users were blocked by a cookie and their IP address. Results The results were highly significant with nearly eighty percent ( 78.24% ) of you saying you will update your computer on the day of the Windows 10 release. Only 1.82 percent of you flat out said 'no' to the upgrade. Eighteen percent ( 17.74% ) of you said you are waiting until some time later, presumably after feedback, have read reviews or until Microsoft releases...

Array definiation and syntax in detail

Image
An array is a collection of homogeneous or similar kind of data types in contiguous memory location. Each element in the array is referred to as the array element of the array. The array elements are accessed by using an index number which represents the position of an element in the array. In general the index of an array with n elements begins from zero and ends at n-1. For instance consider an array named Score which contains 10 elements. The index of the elements range from 0 to 9. The following depicts the above example. Array is a reference type data type. It is due to the fact that when an array is declared, the starting index (0th position) of the array is assigned in a memory location. The elements following the starting index are stored in the next consecutive memory locations. With the help of the memory address containing the starting element and the size of the array, we can access the complete array. Let’s elaborate it with the help of the above illustration: Suppose the...

Windows 10 release/launch date and pricing

Image
Microsoft has announced that Windows 10 is coming on July 29th, and you don't even need to get out of your chair to get a spot in the upgrade line. Take a gander at your Notification Area in the Taskbar and you should find a Windows icon that, when clicked, reveals a shiny new Windows 10 upgrade panel. It's currently being rolled out to select users, since plenty of you have emailed in screenshots, but we've yet to see it ourselves. As before, users will have a year to climb onto the Free Windows 10 bandwagon, but once they do, they'll get free security upgrades for the life of the device. It has been officially confirmed that Windows 10 would be free as upgrade to all the Windows 7, 8, 8.1 users for the first year.