Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Write a program, which takes as an input a grade and prints “Passed!” if the grade is equal or more than 3.00.
- using System;
- namespace _01._Passed
- {
- class Program
- {
- static void Main(string[] args)
- {
- double input = double.Parse(Console.ReadLine());
- if (input >= 3.00)
- {
- Console.WriteLine("Passed!");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment