Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace yournamespace
- {
- class yourclass
- {
- static void main(string[] args)
- {
- static bool void carspeed;
- int maxspeed == 200;
- if (car < maxspeed)
- Console.WriteLine("The car is not going full speed.")
- carspeed = false;
- if (car == maxspeed)
- Console.WriteLine("The car is going full speed.")
- carspeed = true;
- if else
- Console.WriteLine("No")
- carspeed = false;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement