Skip to content
Menu
Code for Java c
  • Home
  • Java
    • Java Examples
    • Java tutorials
  • C
    • C tutorials
    • C Examples
  • C++
    • C++ Tutorials
    • C++ Examples
  • Python
    • Python Tutorials
    • Python Examples
  • About
    • About me
    • contact us
    • disclaimer
    • Privacy Policy
Code for Java c

Tag: loops

PHP Star triangle Pattern program

Posted on August 22, 2024

PHP Star triangle Pattern program Here’s a simple Java program that demonstrates how to print star triangle patterns using PHP. The PHP Star pattern is created only using for loop Program 1 <?php //Star Pyramid Size //PHP pyramid patterns $size = 8;//Rows of Pyramid for($i=1;$i<=$size;$i++){ for($j=1;$j<=$size-$i;$j++){ print (” “);//print initial spaces } for($k=1;$k<=$i;$k++){ print (“…

C# program to print all prime numbers between 1 to n

C# program to print all prime numbers between 1 to n

Posted on January 24, 2023January 24, 2023

C# program to print all prime numbers between 1 to n In this article, we will discuss the concept of the C# program to print all prime numbers between 1 to n In this post, we are going to learn how to write a program to find between 1 to n prime numbers and display…

Write a program for printing first n prime numbers in C#

Write a program for printing first n prime numbers in C#

Posted on January 24, 2023

Write a program for printing first n prime numbers in C# In this article, we will discuss the concept of the Write a program for printing first n prime numbers in C# In this post, we are going to learn how to write a program to find first n prime numbers and display the result…

C Sharp Exercise: print Pascal triangle pattern

C Sharp Exercise: print Pascal triangle pattern

Posted on October 8, 2022October 8, 2022

C Sharp Exercise: print Pascal triangle pattern In this tutorial, we will discuss the title of C Sharp Exercise: print Pascal triangle pattern In this post, we are going to learn how to display the pascal triangle number pattern in C# language using for and while loop, Program to generate pascal’s triangle Program to display…

C Sharp Exercise: print Pascal triangle pattern

C exercise: Pascal’s triangle pattern using 2D Array

Posted on October 8, 2022

C exercise: Pascal’s triangle pattern using 2D Array In this tutorial, we will discuss the title of the C exercise: Pascal’s triangle using a 2D Array In this post, we are going to learn how to display the pascal triangle pattern using a 2D array in C language using for, while, and do-while loop C…

C Sharp Exercise: print Pascal triangle pattern

Pascal’s triangle in Java using 2D Array

Posted on October 3, 2022

Pascal’s triangle in Java using 2D Array In this tutorial, we will discuss the Title of Pascal’s triangle in Java using 2D Array In this post, we will learn how to write code to display the pascal triangle number pattern in Java language using 2 D array with for, while, and do-while loop Java program to…

C Sharp Exercise: print Pascal triangle pattern

C++ Program to generate pascal’s triangle using Array

Posted on October 3, 2022

C++ Program to generate pascal’s triangle using Array In this tutorial, we will discuss the C++ Program to generate a pascal’s triangle using the Array In this post, we are going to learn how to display the pascal triangle number pattern in C++ language using a single dim array with for, while, and do-while loop Program…

C Sharp Exercise: print Pascal triangle pattern

C program to generate pascal triangle using Array

Posted on September 27, 2022October 8, 2022

C program to generate pascal triangle using Array In this tutorial, we will discuss the C program to generate a pascal triangle using an Array In this post, we are going to learn how to display the pascal triangle pattern in C language using for, while, and do-while loop C program to print pascal triangle Program…

C Sharp Exercise: print Pascal triangle pattern

How to write pascal triangle code in Java using arrays

Posted on September 26, 2022

How to write pascal triangle code in Java using arrays In this tutorial, we will discuss the Title of How to write pascal triangle code in Java using arrays In this post, we will learn how to write code to display pascal triangle number pattern in Java language using for, while and do-while loop Java…

C++ program to count number of vowels, consonants in a string

C++ program to count number of vowels, consonants in a string

Posted on April 24, 2022April 24, 2022

C++ program to count number of vowels, consonants in a string In this article, we will discuss the concept of C++ program to count number of vowels and consonants in a string In this post, we are going to learn how to write a program to  count Total number of vowels and consonants in a…

  • 1
  • 2
  • 3
  • 4
  • …
  • 14
  • Next

tag

Addition (6) Array (38) C++ language (91) C language (98) c sharp (23) Division (6) Function (29) if else (32) Java language (102) JavaScript (5) loops (137) Multiply (7) Oop (2) patterns (65) PHP (13) Python Language (38) Subtraction (7) temperature (20)

Archives

Categories

Address

Global information technology

Puloly south, PointPedro

Jaffna

Srilanka

©2025 Code for Java c | Powered by SuperbThemes