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 ConsoleApp1
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.Write("x = ");
- double x = Double.Parse(Console.ReadLine());
- Console.Write("b = ");
- double b = Double.Parse(Console.ReadLine());
- double s = Math.Acos(x/b) + Math.Pow((b/x + Math.Sin(x)), 2);
- Console.WriteLine("Program output:\nx = {0}\nb = {1}\ns = {2}", x, b, s);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement