Sunday 11 July 2021

This post has a number of programs on various well- known series written in java (Bluej). Quite helpful for ICSE (class 9th and 10th) students.

Pythagorean Triplets: //Program to print the Pythagorean triplets from 1 to 200 //A Pythagorean triplet is one that satisfies the condition //h*h=b*b+ht*ht for a right-angled triangle public class pythgorean { public void finfPythagorean() { int b,ht,hy; for(b=1; b<=200;b++) { for(ht=1;ht<=200;ht++) { for(hy=1;hy<=200;hy++) { if(ht

No comments:

Post a Comment

Featured post

Life Infotech now a leading brand in the field of technology training

  Life Infotech now a leading brand in the field of technology training & its invites students around the nation to be a part of the Tra...