Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace homework_3
- {
- class Program
- {
- static void Main(string[] args)
- {
- int a = 1;
- int b = 1;
- Console.WriteLine("f1 = {0}", a);
- Console.WriteLine("f2 = {0}", b);
- a = a + b;
- Console.WriteLine("f3 = {0}", a);
- b = b + a;
- Console.WriteLine("f4 = {0}", b);
- a = a + b;
- Console.WriteLine("f5 = {0}", a);
- b = b + a;
- Console.WriteLine("f6 = {0}", b);
- Console.ReadLine();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement