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;
- namespace ConsoleApplication2
- {
- class Program
- {
- static void Main(string[] args)
- {
- double y;
- double x;
- Console.WriteLine("Введите x");
- x = Convert.ToDouble(Console.ReadLine());
- if (x < -4)
- {
- Console.WriteLine("Значение функции = 0");
- }
- else
- if (x > -4 && x <= 0);
- {
- y = x/4;
- Console.WriteLine("Значение функции = y");
- }
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement