Advertisement
desislava_topuzakova

01. Excellent Result

Jun 12th, 2022
717
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.48 KB | None | 0 0
  1. using System;
  2.  
  3. namespace _01._Excellent_Grade
  4. {
  5.     internal class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             //1. оценка (дробно число) -> входни данни
  10.             //2. проверка оценка >= 5.50 -> "Excellent!"
  11.  
  12.             double grade = double.Parse(Console.ReadLine());
  13.             if (grade >= 5.50)
  14.             {
  15.                 Console.WriteLine("Excellent!");
  16.             }
  17.         }
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement