Computer Science and Mathematics form the base of Artificial Intelligence. There is no better degree than computer science to start off with Artificial Intelligence and Its related fields like Machine Learning, Neural Networks, and others.
Artificial Intelligence basically means how you make a machine intelligent. Intelligence here means:
The ability to take decisions.
The ability to prove direct decision.
The ability to identify flaws in the system.
The ability to learn from the external environment
The ability to apply logic as we humans do.
Once the system possesses these mentioned qualities of intelligence you can say that yes a machine is intelligent to some extent.
It involves mathematical concepts of linear algebra and statistics and computer science programming languages which help you in building this intelligent system.
So if you have a degree in Computer Science, you have the following advantages of pursuing your career in Artificial Intelligence:
You are aware of the basics of AI
You must be well versed in any one of the programming languages
Computer Science graduates usually have a good ability to apply logic, so you must be one of them.
Computer Science to consists of various mathematical concepts (though not in detail but yes the basics are covered).
Being a computer science student will help you understand the in-depth details of Artificial Intelligence in a much simpler manner. So this will help you in learning and build AI systems much more quickly.
And lastly, be it any degree if you have the enthusiasm of learning something new and working on it, then you can surely go ahead.
You can learn AI from Intellipaat Artificial Intelligence course in collaboration with IIT Madras and kick-start your career in AI.