Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int last,first;
- Console.WriteLine("Enter first number:");
- first=int.Parse(Console.ReadLine());
- Console.WriteLine("Enter first number:");
- last=int.Parse(Console.ReadLine());
- if(last<first)
- Console.WriteLine("second number hast grater than first number");
- if(first<=2 && first>=8 && last<=2 && last>=8)
- { for(int c = 1; c <= 15; c++)
- {
- Console.WriteLine(c + "| ");
- for(int i = 1; i <=last; i++)
- {
- Console.WriteLine(i *c + '\t');
- }
- Console.WriteLine('\n');
- }}
- Console.WriteLine("Base values can range from 2 through 8");
- Console.Read();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement