Complex numbers can be represented in polar form like M<θ. Where M is the magnitude and
θ is the angle in degrees. Use the concept of operator overloading to write a class in which the
user will enter the magnitudes and angles (in degrees) for two complex numbers. And then
the program will add, subtract, divide or multiply them and display the result in polar form.
what is dim int
Create 3 float arrays with the names machine A, machine B and machine C. The arrays are of size 4.
Insert machine A, B and C production to the respective array using the function InputProduction().
Print chart of all four (4) days by using the function PrintChart().
Print the report using the function PrintReport().
1.Write a procedure that displays the number of countries in a given region (prompt for value) whose highest elevations exceed a given value (prompt for value). The procedure should accept two formal parameters, one for a region_id and the other for an elevation value for comparison. Use DBMS_OUTPUT.PUT_LINE to display the results in a message. Test your procedure using the value 5 for the region_id and 2000 for the highest evaluation
sheela is working in a cyber. her current task is to create username and password for the users create a class user with the following attributes and initialize the constructor. write a c++ code to take the contact details of ‘n’ user and display it. add update() for those who want to change mobile number by giving their name. options 1. add details 2. update mobile number for the given name 3. display()
Design a program that uses try-catch mechanism to check whether the integer input entered is correct type or not.
Runtime input
ABC
Output
Encode, compile and run the following programs and do the following:
1. Identify the format of the function used: no return type & no parameter, with return type & no parameter, no return type & with parameter and with return type & with parameter.
2. Identify the format and actual parameters.
3. Identify the function signature
4. Identify parameter if value parameter, reference parameter or constant reference parameter is used.
5. Identify the the scope of variable used.
6. Identify the type of C++ function is used.
7. Video record the output and your answer with your screen, voice and face.
8. Upload the video and submit the link here.
9. Also, the PDF file of your answer commented in the line of code.
10. Upload the pdf file with the video recording and submit the link here.
*Note : see picture :https://drive.google.com/file/d/1YTeWprIxJjTWR-XiOs9dYfFUnxhO56_8/view?usp=sharing
codes:
PDF: https://drive.google.com/file/d/15NWjP9t0s1NIWHU9Bdqr9DkBbPrtUojO/view?usp=sharing
Two of them travelling in a car who is sitting in back seat. He saw the mirror image of a word written on a vehicle as ecnalubma. Write a C programming to display the original word
input : ecnalubma
Output : ambulance
Write a Python program using lists, function and loops that will prompt a user to enter a temperature as an integer. Your program will print "it is hot" if the temperature is over 100, "it is cold" if the temperature is under 60, and "it is just right" if the temperature is between 61 and 99 inclusive. The program continues to ask for temperatures, and evaluates them as above, until the user enters a temperature of 0 (to exit the program). An example of the anticipated program is shown below: Please enter a temperature: 95 It is just right. Please enter a temperature: 110 It is hot. Please enter a temperature: 32 It is cold. Please enter a temperature: 0 Good bye!
Timetable Extractor using Python
1. Create a simple database and table structure (0NF) for timetable schedule in SQLite
2. Create a Python function (def) to:
a. read all timetables in Microsoft Excel format
b. extract the timetable contents
c. store the contents into the created table (in item #1)
3. Illustrate a flowchart for the overall task workflow
Chat started