Write the VBScript code that implements this logic.

Write the VBScript code that implements this logic. Given the numeric variable age, display the message “You are a Senior” if age is greater than or equal to 65, otherwise display the message “You are not a Senior”

COMP/230 Week8
COMP230 Week 8
COMP 230 Week 8
COMP-230 Week 8

Use the order calculator below and get started! Contact our live support team for any assistance or inquiry.

[order_calculator]

Week 4: Modules/Procedures – iLab Lab 4 of 7: Methods – (45 points)

Week 4: Modules/Procedures – iLab
Lab 4 of 7: Methods – (45 points)

Scenario/Summary
You will code, build, and execute a program that simulates the dialing of a phone using methods.
Deliverables
Submit the following to this week’s Dropbox:
A zipped Visual Studio project folder for each programming exercise. Refer to the Deliverables section of the Week 1 iLab page for detailed instructions on how to zip a project folder.
A single MS Word file named YourLastName_Lab1_ex1.docx containing the following items:
The source code for each program in the lab: Your source code should use proper indentation, include meaningful comments, and be error free. Start each with a specification that includes your name, the lab and exercise number, and a description of what the program accomplishes, similar to this:

/* Specification:
First Name Last Name
Lab 1 Exercise #
This program does X */
Labeled screenshot(s) of the output windows for each program, showing that each program produces correct results

NOTE: A screenshot of a window can be created by first clicking on it to activate it. Next, press the key or key combination your specific computer uses to do a “print screen” (typically the Prnt Scrn or Prnt key in combination with the ctrl or FN key). Then, click the MS Word “paste” option to paste the screenshot into the MS Word file.
Objectives and Grading

Lab Objectives:
Distinguish between by value, by ref, and out parameter types.
Call class methods using by value, by ref, and out parameters.
Write your own class methods using by value, by ref, and out parameters.
To be able to define and use global named constants
To be able to debug a program of syntax and logic errors
To be able to use the debug step-into feature to step through the logic of the program and to see how the variables change values
Your lab grade will be based upon:
the formatting of your source code;
the use of meaningful identifiers;
the extent of internal documentation; and
the degree to which an exercise’s specifications are met.
Preparation:

If you are using the Citrix remote lab, follow the login instructions located in the iLab tab in Course Home.

iLab Steps

Step 1: Requirements – Phone Dialing Program
Your mission: A prepaid phone service needs a program that converts alphanumeric keyboard input into a phone number. The user will input eight characters and the program will output either an error message or the translated seven-digit phone number. The input may contain digits, letters, or both. Letters can be uppercase or lowercase.
The program will perform the conversion per a standard telephone keypad layout.
0

5
J K L
1

6
M N O
2
A B C
7
P Q R S
3
D E F
8
T U V
4
G H I
9
W X Y Z
The program implements the following methods.
Main(): Declares seven character variables and passes these to the following methods by reference:
ProcessInput(): gets user input and performs the conversion
ShowResults(): displays the results
GetInput(): Gets seven characters from the user and stores them into the seven variables Main() has passed by reference. ProcessInput(): Calls ToDigit() for each, passing each character variable by reference, and returns one of these codes to Main() by value:
0 if there were no input errors
-1 if there were input errors
Input errors include the following:
The first character is 0 (seven-digit phone numbers can’t start with 0).
The first three characters are “555” (no phone numbers start with 555).
Any character is not a digit or an uppercase or lowercase letter.
ToDigit(): Converts a character (passed by reference) to its corresponding digit per the table above, and returns one of these codes to ProcessInput() by value:
0 if the character is valid (a digit or uppercase or lowercase letter)
-1 if the character is not valid
ShowResults(): Writes converted telephone number to the screen, inserting a dash (-) between the third and fourth digits, and accepts the seven character variables from Main() by reference.
Sample Output:
Enter a 7 character phone number: 2132121
The converted phone number is: 213-2121
Enter a 7 character phone number: 2scdfER
The converted phone number is: 272-3337
Enter a 7 character phone number: 555resw
Invalid input, please try again.
Enter a 7 character phone number: 0988765
Invalid input, please try again.
Enter a 7 character phone number: 12345678
Invalid input, please try again.
Enter a 7 character phone number: @34*uy
Invalid input, please try again.
Tips
Best practice: Don’t try to write too much at a time! First, write an outline in comments based on the requirements and the pseudocode. Then, implement declaring seven char variables. Make sure to fix any compiler errors before implementing more. Then, write and call an empty GetInput() method that accepts parameters, but does nothing but return a dummy value. Make sure you can pass the seven character variables by reference without compiler errors before implementing any of the GetInput() logic. Keep working incrementally like this, testing as you go. Set breakpoints and use the debugger at each phase to make sure your logic is working correctly. Then, use the same approach to implement the other methods. Test each phase with valid input before handling any invalid conditions.
Pseudocode
ProcessInput( ) Method
Get 7 characters from the user and store them in the 7 variables that Main() has passed by reference
Call ToDigit() for each of the 7 characters
If toDigit returns an error code (-1), return an error code (-1)
If the first character is 0, return an error code (-1) to Main() If the first three characters are 555, return an error code (-1) If there are no errors, return 0 ToDigit ( ) Method
Convert the characters (passed from ProcessInput() by reference) to upper case
Use a switch statement to translate characters into their corresponding digits.
Write a case statement for each digit and for each valid uppercase letter
Write a default case that returns an error code (-1) for invalid letters
If there are no invalid letters, return 0 ShowResults ( ) Method
Display the Phone Number using the character variables Main() has passed by reference
Main() Method
Declare 7 char variables
Get user input by calling the GetInput() method, passing it the 7 variables by reference
Perform the conversion by calling the ProcessInput( ) method, passing it the 7 variables by reference
Display an error message or call ShowResults(), depending on the code ProcessInput() returns

END OF LAB
CIS170 Week 4 lab in c# – 100% score.
CIS170A Week 4 lab in c# – 100% score.
CIS170B Week 4 lab in c# – 100% score.
CIS170C Week 4 lab in c# – 100% score.
–iqra javaid

Use the order calculator below and get started! Contact our live support team for any assistance or inquiry.

[order_calculator]

Let us discuss and compare what we each value most in our lives.

Let us discuss and compare what we each value most in our lives. Are we all living true to our values, experiencing balance and overall life satisfaction? Complete Figure 4.3, Values Appraisal Exercise, on page 111 of the textbook. Score and graph your results on page 134–135. Post a detailed initial response, answering these questions and sharing this experience with your fellow learners:
How do your results from this exercise relate to the five work value dimensions detailed on page 109?
Are you experiencing a sense of value congruence in your life?

Use the order calculator below and get started! Contact our live support team for any assistance or inquiry.

[order_calculator]

Assignment #5: Financial Management.

BUS508:
Assignment #5: Financial Management
PEPSI OR COKE
8 PAGES WITH COVER AND REFERENCESVBUS508:
Assignment #5: Financial Management
PEPSI OR COKE
8 PAGES WITH COVER AND REFERENCES

Use the order calculator below and get started! Contact our live support team for any assistance or inquiry.

[order_calculator]

Explain what constructors do and when they are executed.

Explain what constructors do and when they are executed. Explain the two types of constructors. Provide an example class that includes both types of constructor functions and demonstrate how an object would be instantiated using both types of constructors.

COMP/220 COMP220 COMP 220 Week8 Week 8

Use the order calculator below and get started! Contact our live support team for any assistance or inquiry.

[order_calculator]

Contingency Theory of Leadership.

Contingency Theory of Leadership
Highlight the most prominent situations affecting leadership from the Industrial Age to the Information Age. Then, briefly discuss two of the contingency theories of leadership.

Use the order calculator below and get started! Contact our live support team for any assistance or inquiry.

[order_calculator]

Which financial statement is used to determine cash generated from operations? Acc 290 final exam.

1) Which financial statement is used to determine cash generated from operations? Acc 290 final exam
2) In terms of sequence, in what order must the four basic financial statements be prepared?

3. In classifying transactions, which of the following is true in regard to assets? Acc 290 final ex

4. An increase in an expense account must be

5. ABC Corporation issues 100 shares of $1 par common stock at $5 per share, which of the following is the correct journal entry?

6. In the first month of operations, the total of the debit entries to the cash account amounted to $1,400 and the total of the credit entries to the cash account amounted to $600. The cash account has a Acc 290 final exam

7. Which ledger contains control accounts?

8. Smith is a customer of ABC Corporation. Smith typically purchases merchandise from ABC on account. Which ledger would ABC use to keep track of the details of Smith’s account?

9. Under the cash basis of accounting

10. Under the accrual basis of accounting Acc 290 final exam

11. The Vintage Laundry Company purchased $6,500 worth of laundry supplies on June 2 and recorded the purchase as an asset. On June 30, an inventory of the laundry supplies indicated only $2,000 on hand. The adjusting entry that should be made by the company on June 30 is

12. Greese Company purchased office supplies costing $4,000 and debited Office Supplies for the full amount. At the end of the accounting period, a physical count of office supplies revealed $1,100 still on hand. The appropriate adjusting journal entry to be made at the end of the period would be Acc 290 final exam
13. Based on the account balance below, what is the total of the debit and credit columns of the adjusted trial balance? Acc 290 final exam

14. An adjusted trial balance

15. Given the following adjusted trial balance:
Net income for the year is

16. Given the following adjusted trial balance, what will be the totals for the debit and credit columns of the post-closing trial balance?

17 Given the following adjusted trial balance: Acc 290 final exam

18. Net income is recorded on the work sheet under the

19. At the beginning of the year, Uptown Athletic had an inventory of $400,000. During the year, the company purchased goods costing $1,500,000. If Uptown Athletic reported ending inventory of $600,000 and sales of $2,000,000, their cost of goods sold and gross profit rate would be Acc 290 final exam

20. During the year, Sarah’s Pet Shop’s merchandise inventory decreased by $30,000. If the company’s cost of goods sold for the year was $450,000, purchases would have been

21. At the beginning of the year, Wildcat Athletic had an inventory of $200,000. During the year, the company purchased goods costing $700,000. If Wildcat Athletic reported ending inventory of $300,000 and sales of $1,000,000, their cost of goods sold and gross profit rate would be

22. The entry to record of sale of $900 with terms of 2/10, n/30 will include a

23.Dobler Company uses a periodic inventory system. Details for the inventory account for the month of January 2012 are as follows:
An end of the month (1/31/2012), inventory showed that 140 units were on hand. If the company uses LIFO, what is the value of the ending inventory?
24. The difference between ending inventory using LIFO and ending inventory using FIFO is referred to as

25. A consistent application of an inventory costing method enhances

26. The accountant at Patton Company has determined that income before income taxes amounted to $11,000 using the FIFO costing assumption. If the income tax rate is 30% and the amount of income taxes paid would be $300 greater if the LIFO assumption were used, what would be the amount of income before taxes under the LIFO assumption?

27. A very small company would have the most difficulty in implementing which of the following internal control activities?

28. A system of internal control

29. The custodian of a company asset should

30. The Sarbanes Oxley Act (2002) applies to

Use the order calculator below and get started! Contact our live support team for any assistance or inquiry.

[order_calculator]

Question: What is the “current macroeconomic situation” in the U.S. (e.g. is the U.S. economy currently concerned about unemployment, inflation, recession, etc.)?

Question: What is the “current macroeconomic situation” in the U.S. (e.g. is the U.S. economy currently concerned about unemployment, inflation, recession, etc.)? What fiscal policies and monetary policies would be appropriate at this time?
1. Write your individual answers to the questions listed above together in essay format (minumum of 300 words combined in APA style), using correct economic terms covered in the discussions. If you only write 300 words, you probably won’t be able to fully answer the questions. Use the APA Template in Doc Sharing as a guide. You will also find the grading rubric for this assignment in Doc Sharing.
2. Key concepts to include in your paper–data trends on unemployment, inflation, GDP growth, expansionary fiscal policy tools, FOMC, easy money policy tools and other terms from this class.
3. You must use at least one article.

Use the order calculator below and get started! Contact our live support team for any assistance or inquiry.

[order_calculator]