Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace loop_for
- {
- class Program
- {
- static void Main(string[] args)
- {
- for(int i=1;i<=1000;i++)
- {
- if (i == 7 || i % 10 == 7)
- {
- Console.WriteLine(i);
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement