What is Maven and why it is used? Maven is a powerful project management tool that is based on POM (project object model). It is used for projects build, dependency and documentation. How it works? Maven is a popular open source build tool for enterprise Java projects, designed to take much…
A program to check for a Disarium number through a Java Program.
Drawing the following pattern through a Java Program.
1
2 6
3 7 10
4 8 11 13
5 9 12 14 15
In this post we shall learn how to create Lines of Regression in Python using numpy and sklearn. We shall also draw plots for the same. To start with we shall import the following. import numpy as np from sklearn.linear_model import LinearRegression import matplotlib.pyplot as plt end
In this example we will see how to Open/Create a file in PHP and read it . To open/create a file in PHP fopen() is use . Syntax: fopen(filename,mode); This function takes 2 parameter to open/create a file . If file exist then it will simply open it if not then…
What is a Keith Number? “A Keith number is an -digit integer such that if a Fibonacci-like sequence (in which each term in the sequence is the sum of the previous terms) is formed with the first terms taken as the decimal digits of the number , then itself occurs as a term in the sequence. For…
Developed a program for finding out Happy Numbers from a given range of numbers. What is a Happy Number? To find a Happy Number we take every digit of a number, square them and add them up. If the sum equals 1 it is a Happy Number. If not we…