To create a calculator using HTML, CSS, and Javascript, we need to have basic understanding of working of HTML, CSS and JavaScript. Calculator is a simple tool which performs basic arithmetic calculations like Addition, Subtraction, Multiplication and Division. In this article, we are going to discuss how to create a Calculator using HTML, CSS, and JavaScript. Usually, if we observe any real-time calculator we know that it has: A grid of numbers (0-9 and 00). Basic arithmetic operators (+, -, /, x, %). Some symbols for ... Read More
Preventive and predictive maintenance are carried out so that the life of the assets can be increased and the chances of their failure can be reduced. The main difference between preventive and predictive maintenance is that preventive maintenance has a regular schedule while predictive maintenance is carried out on the basis of the condition of assets. Preventive Maintenance Preventive maintenance is a process in which an annual physical check-up of the assets is done. The maintenance task is conducted to know whether everything is running correctly or not. This maintenance helps in the prevention of breakdowns in the future. Preventive ... Read More
Machine learning is a subject that belongs to Artificial Intelligence that is used to create judgments for algorithms with the help of computer science, arithmetic, and statistics. Predictive analytics deals with the historical data to make predictions for the future. In this article, we will see the differences between Machine Learning and Predictive Analytics. Machine Learning Machine learning is a subject that is related to AI. It has the job of making judgments for algorithms which it does with the help of arithmetic, statistics, and computer science. Machine learning is used as a tool to perform statistical analysis. It also ... Read More
Data analytics is a process in which meaningful data is extracted from the raw data. Data visualization uses this meaningful data to provide more information which is easy for the stakeholders to understand. In this article, we will look into the difference between data analytics and data visualization. Data Analytics Data analytics is a process in which raw data is collected from various sources. This data is then cleaned, formatted, and modeled so that it can be used further easily. The main aim of data analytics is to extract usable insights which help a business to make different types of ... Read More
Devin AI is a fully automated AI software engineer, that has been hyped since the release of its demo. Well there are quite different opinions circulating on the internet regarding whether the demo was faked or will the technology result in the end of career in software engineering. What is Devin AI? Devin is the first AI engineer which is a combination of human expertise and machine learning developed by Cognition Labs. It is not just another AI assistant like Alexa but is designed to be a teammate in coding with capabilities beyond just automation. It is known for its ... Read More
To change the position of the scrollbar using CSS, there are various approaches which can be implemented to change scrollbar position and can be placed in any of four directions. In this article we are having div elements with text content inside it. Our task is to change the position of scrollbar in different direction. We will be changing the scrollbar position to right, left, top and bottom. Approaches to Change the Position of the Scrollbar Here is a list of approaches to change the position of the scrollbar using CSS which we will be discussing in this article with ... Read More
In this article, we will understand how to calculate standard deviation. The standard deviation is the measure of how spread-out numbers are. The symbol of standard deviation is sigma( σ ). It is the square root of variance. Standard deviation is computed using the formula square root of ∑(Xi - ų)2 / N where Xi is the element of the array, ų is mean of the elements of the array, N is the number of elements, ∑ is the sum of the each element. Problem Statement Given a program in Java to calculate the standard deviation of a given ... Read More
We will demonstrate how total marks and percentages are calculated using Java programs. The term total marks refer to the summation of all the available marks, while the term percentage refers to the number obtained by dividing the calculated marks by total marks and multiplying the resultant by 100. percentage_of_marks = (obtained_marks/total_marks) × 100 Problem Statement Given a Java program to calculate the total marks and percentage of a student in a given set of subject. Input marks = { 69, 88, 77, 89, 98, 100, 57, 78 } Output Total Marks is: 656 Total Percentage is: ... Read More
We can calculate the area of the circle in Java using Method Overloading. “Method Overloading” is a feature in Java that allows one to write more than one method in the same class using the same method name. It will enable us to declare more than one method with the same names but with different signatures i.e., the number of parameters in the method may be different or the datatype of parameters may be different. Now, let us achieve Method Overloading in Java by considering the “area of a circle” as an example. Before moving to an example, now ... Read More
When working with dates in Java, it's common to need to increment or decrement months. The Calendar class makes it easy to manipulate dates. This article shows how to decrement the current date by a specified number of months using the Calendar class. Problem Statement Given a Java program to decrement the current date by a specified number of months using the Calendar class. Output Current Date = Thu Nov 22 16:37:42 UTC 2018 Updated Date = Thu Mar 22 16:37:42 UTC 2018 Basic Approach Below are the steps to subtract months from current date using Calendar.add() ... Read More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP