Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Hexagon Tringle
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here int j; for(int i=1; i<=3; i++) { for(j=1; j<=5; j++) { if(i%2==0) { if(j==1 || j==5){ Console.Write("*"); }else{ Console.Write(" "); } } else{ if(j%2==0){ Console.Write("*"); }else{ Console.Write(" "); } } } Console.Write("\n"); } } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Check if string is palindrome
itervativeFact
/Users/svetlanakanevskaa/Downloads/ACDB.sql
Static Class
D14
online compiler
expression evaluator wich is easy to extend
30272 Program Ex4 if
Mintra url string replace
The Fisher–Yates shuffle array extension method
Please log in to post a comment.