-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAppCompatibility.cs
49 lines (42 loc) · 1.19 KB
/
AppCompatibility.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
class Program
{
public static void Main(string[] args)
{
Console.Write("[App Checklist]\nWhat mobile device do you have? ");
string x = Console.ReadLine();
if (x == "Apple")
{
Console.Write("What version do you have? ");
}
if (x == "Android")
{
Console.Write("What version do you have? ");
}
if (x == "Windows Phone")
{
Console.Write("I’m sorry, our app does not support your device.");
}
double a = Convert.ToDouble(Console.ReadLine());
if (a == 6)
{
Console.Write("Does your device support Bluetooth connections? ");
}
if (a == 12)
{
Console.Write("Congratulations, you can run the app!");
}
if (a == 9.1)
{
Console.Write("Does your device support Augmented Reality? ");
}
string b = Console.ReadLine();
if (b == "No")
{
Console.Write("I’m sorry, our app does not support your device.");
}
if (b == "Yes")
{
Console.Write("Congratulations, you can run the app!");
}
}
}