Home Discussion Discuss: Write a program to construct a triangle with the ?*?

  • thanks lotchandrasekhar June 16, 2011 at 4:33 PM

    Thank u so much for providing coding and explanation for programs it helped me lot.. I hope that u will give more programs for us .. Regards, chandrasekhar reddy

  • Star program in Java Mukund Potdar August 14, 2011 at 1:38 PM

    There some error while running i.e "Exception in thread "main" java.lang.NoClassDefFoundError: Triangle <wrong name: Triangle>

  • java programskusum sorout August 27, 2011 at 10:57 PM

    methods for creating different types of shapes using stars'*'.

  • questionBongani August 29, 2011 at 4:06 AM

    how to create a c# program that will prompt the user to enter a number; this will be the size of a triangle. then call the function draw iscosceles triangle, using try catch statement?

  • javaNishikant September 4, 2011 at 1:07 AM

    how can you print in java programming in this serig * * * * * * * * * *

  • above tringle prgmvinodkumar September 6, 2011 at 3:40 PM

    its will throws the exception so we have to put throws IOException

  • programmark October 5, 2011 at 8:26 AM

    hello... i'm in need of your help.. pleaase help me with this program...using simple linear array.... Create a program that will accept 20 numbers and arrange them in ascending order. The program should determine the distinct numbers and the number of occurrences for each number (or the frequency). The program should also determine the mean, median and the mode of the inputs. Display the supplied values, the distinct numbers, the frequency of each distinct numbers, mean, median and mode. Your program should use three arrays that will hold the entered numbers, distinct numbers, and the frequency, respectively. Use the following numbers in your first run: 1 37 25 1 56 8 6 9 11 8 54 56 20 25 1 8 6 20 56 56 Enter 20 numbers: 1 37 25 1 56 8 6 9 11 8 54 56 20 25 1 8 6 20 56 56 Your entered numbers are: 20 37 25 1 56 8 6 9 11 23 54 56 20 25 1 8 56 20 56 56 Your sorted numbers are: 1 1 1 6 6 8 8 8 9 11 20 20 25 25 37 54 56 56 56 56 Distinct Number Frequency 1 3 37 1 25 2 56 4 8 3 6 2 9 1 11 1 54 1 20 2 Mean: 23.2 Median: 15.5 Mode: 56 AND THIS.... using simple two dimensional array.. Create a program that displays that accepts a month number and a year. The program should display the monthly calendar for a particular year which contain the Month, days, and the year. Take note also the leap years. Example: Enter a month number: 2 Enter a year: 2008 Your monthly calendar is: February 2008 Su Mo Tue Wed Thur Fri Sat 1 2 3 4 5 6 7 8 9 10 11 12 12 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 thanks...favor... can you help me ASAP thanks.......More power...:D

  • emmergency plsfadele funmilayo October 19, 2011 at 11:37 AM

    Can anyone pls write d code in either pascal or q basic for me. The code ? draw both a triaaqngle amd a rectangle. Thanks!

  • program informationSanjay October 28, 2011 at 1:21 PM

    i want complete information about java programing. plese send me program information. thanx

  • JavaSadun November 30, 2011 at 9:03 PM

    Thanks.Very usefull me

  • The program above!!Elina February 12, 2012 at 2:27 PM

    Hey dude. The program has a slight error. To properly work, the first loop has to have the condition for (int i=1; i<=a;i++ ). Just thought u should know.

  • my commentjimmy May 22, 2012 at 11:05 PM

    ur examples are not accurate,,,,, u r wasting time of peoples...

  • javachinna June 16, 2012 at 3:21 PM

    I need more explanation...!

  • two triangle side by sideirfan June 26, 2012 at 2:22 AM

    hi i need help to make two triangle like (SHALWAR). I MADE IT BUT THE 2ND TRIANGLE IS UNDER FIRST TRIANGLE. PLEASE HELP ME OUT AND EMAIL ME IF YOU CAN THAT WOULD BE HELP. public class Shalwar1 { public static void main(String [] args) { for (int i=1; i<=9; i++) { System.out.println(); for (int j=9; j>=i; j--) { System.out.print(""); System.out.print("*"); } } for ( int x = 1; x <= 10; x++ ) { for ( int y = 1; y < x; y++ ) System.out.print( ' ' ); for (int k = x; k<=10;k++) System.out.print("*"); System.out.println(); } }}

  • programmersatilade segun o July 11, 2012 at 9:05 PM

    gud day sir, i just want to know if it is possible to become a computer programmer. thank

  • c sharppriyanka chauhan July 22, 2012 at 1:07 AM

    how to form a triangle in c sharp with *.by using programing language............

  • JavaDebasis Sethy August 31, 2012 at 11:42 PM

    solve for java triangle program

  • commentswathi September 16, 2012 at 1:11 PM

    u wont get the output of stars in triangle form for the above given code

  • programmeshafinaz islam orthy December 9, 2011 at 12:43 PM

    output- 1 2 3 2 3 4 5 4 3 4 5 6 7 6 5 4 what will be the programme?

Post your Comment



Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Related Articles
DMCA.com