Which of the following prohibited segregation in public accommodations and discrimination in employment?

A. the Twenty-Fourth Amendment
B. the Civil Rights Act of 1964
C. the Voting Rights Act of 1965
D. the Civil Rights Act of 1968

B. the Civil Rights Act of 1964