Thursday, 16 February 2017

Perfect number program

Q : Write a program to check whether a number is perfect or not ?

A perfect number is a positive integer that is equal to the sum of its proper positive divisors, that is, the sum of its positive divisors excluding the number itself. 

Example : 
6 = 1 + 2 + 3, 
28 = 1 + 2 + 4 + 7 + 14, 
496 = 1 + 2 + 4 + 8 + 16 + 31 + 62 + 124 + 248 

Solution :

HCF and LCM Java Program

Q : Write a program to input two number and find out HCF and LCM ?

Solution : 


class lcm {
 void get(m1, m2) {

Tuesday, 14 February 2017

Progress Tag HTML 5

Progress Tag HTML 5 Example


In making of a website , we often need to provide essential feedback to a user informing them of the progress of their request or task, be it uploading a file, playing a video, or importing data.

Progress Tag HTML 5

Meter Tag HTML 5

Meter Tag HTML 5 Example

The HTML <meter> tag specifies a scalar measurement within a known range (a gauge).

Meter Tag HTML 5 Example


<meter value="3" min="0" max="10">2 out of 10</meter><br>