Visual studios Write a program which does the following: 1. get the user\'s name
ID: 3915822 • Letter: V
Question
Visual studios
Write a program which does the following:
1. get the user's name in a procedure called getName
2. Get two numbers from the user in a procedure called getDimensions
3. Inside the procedure called getDimensions, after getting the two numbers, call a procedure called getArea which will calculate the area of the two numbers from the getDimensions procedure. at this point both getArea returns and the getDimensions returns.
4. You are in the Main at this point.. You will do steps 2 and 3 again to get another area and compare this area to the first.
5. Display to the user which one of the two objects is bigger by stating: "Hello . The first object's area is and the second object's area is " "The largest area is " zip the folder or submit only the .asm file. I am not sure what language it is. When I try to get clarification, I usually either get c++ or java. Below is a sample code. It is not a code for the program im supposed to do above but it is the same language.
Explanation / Answer
The language used in the given code is Assembly Language. As .asm file extension is used for assembly language source code file. So you should write your codes in assembly language and not in c++ or java.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.