Answer:
The code is not dereferencing the pointers. You have to place an asterisk in front of the pointer to read the value the pointer points to.
Explanation:
So "if (str1 != str2)" must be "if (*str1 != *str2)".
likewise:
while (*str1 != 0 && *str2 != 0)
and
result = (*str1 == *str2);
a = int(input("Class A tickets sold: "))
b = int(input("Class B tickets sold: "))
c = int(input("Class C tickets sold: "))
print("Total income generated: $"+str((a*20)+(b*15)+(c*10)))
I hope this helps!
Answer:
2.4GHz
Explanation:
In the 2.4 GHz band, 1, 6, and 11 are the only non-overlapping channels