Computer | PHP | NET | JAVA | c/C++ | Wordpress | Shivakant Gupta| wordpress | joomla | hosting | domain
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
Subscribe to:
Post Comments (Atom)
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...
-
Introduction: This course is designed to aim at imparting a basic level IT Literacy programme for the common man. This programme has esse...
-
12 Techniques to Help You Live a Happy and Fulfilled Life It seems that everything comes in a list format nowadays. “Wash, Rinse, and...
-
<<<<HTML Introduction>>>> Example <html> <body> <h...
No comments:
Post a Comment