the implementation of questions should be done in c++
0.0 ARBA: 2021-01-21 20:50 VISARADO SUTANTO 143' 57" 1 Write a program that asks the user for a positive integer value. The program should use TWO looping structures to get the sum of all the integers from 1 up to the number entered. For example, if the user enters 50, the loop will find the sum of 1, 2, 3, 4, ... 50. 4 Execution of the program would be: Please give me an integer (>1) to start: 50 The sum from 1 to 50 is 1275. (15.09) 2 527 U Ef 100.0 : 2021-01-21 20:50 VISARADO SUTANTO 143' 52" 3 4 2 Suppose of the University (ZJUT) wants to design an information quering system for the freshmen According to previous survey, the information needed most by freshmen are typically categorized as [M]ajor, (Campus, [S]cholarship and [H]istory. You are asked to help the university design such a system. 3 4 The information under each choice are: Campus: ZJUT has four campus, located in different cities in Zhejiang Province Major: ZJUT has all kinds of majors, covering human science, natural science, engineering, agriculture History: ZJUT has a history about 70 years. Scholarship: ZJUT provides different scholarship for the international students. Execution of the program would be: =========Information Query System=- 100.0 ARAU: 2021-01-21 20:50 VISARADO SUTANTO 143'41" 3 Monte Carlo is a method that minics the processe of random sampling to obtain numerical results. For example, consider a rectangle of size 2x2 which contains an incircle of radius 1 Putting this rectangle in an open area when it is raining, the amount of raindrops collected in the rectangle are propotional to the surface of the rectangle, the amount of rain drops collected in the incircle is propotional to the surface area of the incircle. That is rain in rectangle / rain in incirde 22/pi: 3 4 We can mimic the rain-drops as random points in Cartesian coordinates with (xy). By fixing -1 N incircle=1; 5) Repeat step 3-4) until I EN 6) approximate Plas: 4.0"N incirde /N 1 000 Os Spo 0.5 oo Odd -0.5 000