nvnnaidenov

ExcellentOrNot - Chapter 3.0

Feb 10th, 2022
696
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.35 KB | None | 0 0
  1. //Task 002, Chapter 3.0
  2. using System;
  3.  
  4. public class ExcellentOrNot
  5. {
  6.     static void Main()
  7.     {
  8.         double grade = double.Parse(Console.ReadLine());
  9.  
  10.         if(grade >= 5.50)
  11.         {
  12.             Console.WriteLine("Excellent!");
  13.         }
  14.         else
  15.         {
  16.             Console.WriteLine("Not excellent.");
  17.         }
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment