How do I get author, title and chapter title (Example 1.Introduction) in the header and page number on the right side of the footer.
\documentclass[a4paper,12pt]{report}
\usepackage{geometry}
\geometry{margin=2.00cm}
\usepackage{pdfpages}
\usepackage{dirtytalk}
\usepackage{fancyhdr}
\usepackage{newcent}
\usepackage{setspace}
\usepackage{epigraph}
\usepackage{csvsimple}
\usepackage{sectsty}
\allsectionsfont{\sffamily}
%\singlespacing
\onehalfspacing
\newtheorem{hypothesis}{Hypothesis}
\newtheorem{nullhypothesis}{Null Hypothesis}
\usepackage[linktoc=all]{hyperref}
\hypersetup{
colorlinks = true, % Colours links instead of ugly boxes
urlcolor = black, % Colour for external hyperlinks
linkcolor = black, % Colour of internal links
citecolor = red % Colour of citations
}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{natbib}
\usepackage{amsmath}
\usepackage[font={small,it}]{caption}
\addto\captionsenglish{\renewcommand{\figurename}{Fig.}}
%images
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage[export]{adjustbox}
\newcommand\cites[1]{\citeauthor{#1}'s\ (\citeyear{#1})}
%\captionsetup{justification=raggedright,singlelinecheck=false}
\usepackage{booktabs}
\newcommand{\ra}[1]{\renewcommand{\arraystretch}{#1}}
\usepackage{bchart}
\usepackage{pgfplots}
\usepackage{todonotes}
\title{xx}
\author{xx}
\pagestyle{fancy}
\lhead{\author{xxx}}
\chead{\title{xx}
\rhead{\leftmark}
\renewcommand{\chaptermark}[1]{\markboth{\MakeUppercase{#1}}{}}
%put chapter and title on same line
\usepackage{titlesec}
\titleformat{\chapter}[hang]
{\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter:}{1em}{}
\begin{document}
\maketitle
\tableofcontents
\listoffigures
\listoftables
\include{introduction}
\chapter{Appendix}
\bibliography{sources}
\bibliographystyle{apalike}
\end{document}
\documentclass{...}
and ending with\end{document}
.