Difference between revisions of "C#:Flags with Rectangles Tutorial"

From Progzoo
Jump to: navigation, search
(France)
 
Line 89: Line 89:
 
</answer>
 
</answer>
 
</question>
 
</question>
 +
{{Flags Tutorial}}

Latest revision as of 13:37, 6 March 2013

Libya

The flag of Libya is a simple green rectangle.

Try the program as it is given, then change it so that the green rectangle is 150 wide.

Flag of Libya
[Font] [Default] [Show] [Resize] [History] [Profile]

France

The flag of France is blue, white and red. The code given draws only one of the three rectangles required, and it is in the wrong place.

Flag of France
[Font] [Default] [Show] [Resize] [History] [Profile]

Germany

The flag of Germany is black, red and yellow.

Only one of the three rectangles has been drawn - and that one is in the wrong place.

Flag of Germany
[Font] [Default] [Show] [Resize] [History] [Profile]

Bangladesh

  • The flag of Bangladesh is a red circle on a green background.
  • The rectangle is 160 by 96.
  • The circle is in position 40,16 (a little left of centre)
  • Circle has width and height 64
  • The dark lines are NOT part of the flag. They are shown as guides only.
Flag of Bangladesh


[Font] [Default] [Show] [Resize] [History] [Profile]