The Formula for major scales are composed of 5 whole steps [W], and 2 half steps [H] in this order:
Starting from the root we have
W, W, H, W, W, W, H
Using this formula we can man make a major scale out of any key…
Take for example C Major

C-D (Whole step)
D-E (Whole step)
E-F (Half Step)
F-G (Whole Step)
G-A (Whole Step)
A-B (Whole Step)
B-C (Half Step)

Major Scales in All Keys

excercises…