Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace ConsoleApp1
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.Write("a =");
- float a = float.Parse(Console.ReadLine());
- Console.Write("b =");
- float b = float.Parse(Console.ReadLine());
- float k = a*b;
- Console.Write(a+"*"+b+"=");
- Console.Write("{0:#.##}", k);
- Console.ReadLine();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement