Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace Julgran
- {
- /// <summary>
- /// Interaction logic for MainWindow.xaml
- /// </summary>
- public partial class MainWindow : Window
- {
- public MainWindow()
- {
- InitializeComponent();
- }
- private void btnOK_Click(object sender, RoutedEventArgs e)
- {
- for (int i = 0; i < 18; i++)
- {
- for (int n = 0; n < i; n++)
- {
- txtOutput.Text += ("* ");
- } // end inner for
- txtOutput.Text += ("\n");
- } // end for
- } // end btnOK
- } // end class
- } // end namespace
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement