Write a script that displays the numbers 1 to 4 on the same line, with each pair of adjacent numbers separated by one space. Write the program using the following methods:

'; $examples[1]['example_number']= '02'; $examples[1]['title'] = "Arithmetic"; $examples[1]['description'] = 'Write a script that asks the user to enter two numbers, obtains the two numbers from the user and outputs text that displays the sum, product, difference and quotient of the two numbers.'; $examples[1]['page_name'] = 'js_s01_ex02'; $examples[1]['date_completed'] = 'To be completed'; $examples[2]['example_number']= '03'; $examples[2]['title'] = "Which is larger?"; $examples[2]['description'] = 'Write a script that asks the user to enter two integers, obtains the numbers from the user and outputs text that displays the larger number followed by the words "is larger" in an alert dialog. If the numbers are equal, output HTML5 text that displays the message "These numbers are equal." Use the techniques shown in Fig. 6.14.'; $examples[2]['page_name'] = 'js_s01_ex03'; $examples[2]['date_completed'] = 'To be completed'; $examples[3]['example_number']= '04'; $examples[3]['title'] = "More Arithmetic"; $examples[3]['description'] = 'Write a script that takes three integers from the user and displays the sum, average, product, smallest and largest of the numbers in an alert dialog.'; $examples[3]['page_name'] = 'js_s01_ex04'; $examples[3]['date_completed'] = 'To be completed'; $examples[4]['example_number']= '05'; $examples[4]['title'] = "A Circle"; $examples[4]['description'] = 'Write a script that gets from the user the radius of a circle and outputs HTML5 text that displays the circle’s diameter, circumference and area. Use the constant value 3.14159 for π. Use the GUI techniques shown in Fig. 6.7. [Note: You may also use the predefined constant Math.PI for the value of π. This constant is more precise than the value 3.14159. The Math object is defined by JavaScript and provides many common mathematical capabilities.] Use the following formulas (r is the radius): diameter = 2r, circumference = 2πr, area = πr2.'; $examples[4]['page_name'] = 'js_s01_ex05'; $examples[4]['date_completed'] = 'To be completed';