sendregion aregion Question | * In your Main() method, using a suitable looping structure, write the code to call this method repeatedly. Using a suitable branching structure, write the code to implement the • following required functionality for all valid responses. Valid responses includes both upper and lower case of the input. The • following must be implemented: * 3 will call the DemoQuestion3() method * 4 will call the DemoQuestiona () method *5 will call the DemoQuestionS() method * 6 will call the DemoQuestion6() method *x will terminate the program * Any other key will produce an error message • vU DON'T HAVE TO CREATE A NEW METHOD FOR THIS QUESTI1ON tendregion aregion Question 3 - 36 marks 1* Question 3c (10 marks) * write a method with the following specification name : DisplayMultiplesofThree * arguments: array of int returns : nothing • display : only the multiples of three items in the argument * task : use a suitable looping structure to send each multiple to the screen. • YOU MUST USE A FOREACH loop I Question 3b (8 marks) write a method with the following specification • name arguments: array of int returns : nothing : DisplayIntarray

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter8: Arrays
Section: Chapter Questions
Problem 7PE
icon
Related questions
Question

Plse use c# programming language

"final exam comp 100.txt - Notepad
File Edit Format View Help
using System;
***********
* Programming I - Test 3 (Version D)
* Name:
* Date:
* student #:
namespace versionD
class Verd
static void Main(string[] args)
#region Question 1 - 11 marks
* write a method that does not take any argument nor does it
• return a value. The method only displays the following text.
* YOU MUST INSERT YOUR NAME IN THE TOP LINE OF THE MENU
=====Programming I======
3. working with array of integer
4. Volume conversion
5. Simple pendulum
6. Calculate Ontario Tax
X. To exit the program
=================
* Press the letter corresponding to your choice-> ");
ENG
4:44 PM
#endregion
Friday
2021-12-17
#region Question 2 - 20 marks
Ln 8. Col 4
100%
Windows (CRLFX
UTF-8 with BOM
E O O E Q *
Transcribed Image Text:"final exam comp 100.txt - Notepad File Edit Format View Help using System; *********** * Programming I - Test 3 (Version D) * Name: * Date: * student #: namespace versionD class Verd static void Main(string[] args) #region Question 1 - 11 marks * write a method that does not take any argument nor does it • return a value. The method only displays the following text. * YOU MUST INSERT YOUR NAME IN THE TOP LINE OF THE MENU =====Programming I====== 3. working with array of integer 4. Volume conversion 5. Simple pendulum 6. Calculate Ontario Tax X. To exit the program ================= * Press the letter corresponding to your choice-> "); ENG 4:44 PM #endregion Friday 2021-12-17 #region Question 2 - 20 marks Ln 8. Col 4 100% Windows (CRLFX UTF-8 with BOM E O O E Q *
"final exam comp 100.txt - Notepad
File Edit Format View Help
#endregion
#region Question |
* In your Main() method, using a suitable looping structure, write the
* code to call this method repeatedly.
* Using a suitable branching structure, write the code to implement the
• following required functionality for all valid responses.
* valid responses includes both upper and lower case of the input. The
* following must be implemented:
* 3 will call the DemoQuestion3() method
* 4 will call the DemoQuestion4() method
* 5 will call the DemoQuestion5() method
• 6 will call the DemoQuestion6() method
* x will terminate the program
* Any other key will produce an error message
* YOU DON'T HAVE TO CREATE A NEW METHOD FOR THIS QUESTION
#endregion
#region Question 3 - 36 marks
/* Question 3c (10 marks)
* write a method with the following specification
• name
* arguments: array of int
returns : nothing
* display : only the multiples of three items in the argument
* task
: DisplayMultiplesofThree
: use a suitable looping structure to send each
multiple to the screen.
* YOU MUST USE A FOREACH loop
1* Question 3b (8 marks)
ENG
* write a method with the following specification
* name
* arguments: array of int
* returns : nothing
4:44 PM
: DisplayIntArray
Friday
2021-12-17
Ln 44, Col 26
100%
Windows (CRLF)
UTF-8 with BOM
H Q O i
E O O e Q *
Transcribed Image Text:"final exam comp 100.txt - Notepad File Edit Format View Help #endregion #region Question | * In your Main() method, using a suitable looping structure, write the * code to call this method repeatedly. * Using a suitable branching structure, write the code to implement the • following required functionality for all valid responses. * valid responses includes both upper and lower case of the input. The * following must be implemented: * 3 will call the DemoQuestion3() method * 4 will call the DemoQuestion4() method * 5 will call the DemoQuestion5() method • 6 will call the DemoQuestion6() method * x will terminate the program * Any other key will produce an error message * YOU DON'T HAVE TO CREATE A NEW METHOD FOR THIS QUESTION #endregion #region Question 3 - 36 marks /* Question 3c (10 marks) * write a method with the following specification • name * arguments: array of int returns : nothing * display : only the multiples of three items in the argument * task : DisplayMultiplesofThree : use a suitable looping structure to send each multiple to the screen. * YOU MUST USE A FOREACH loop 1* Question 3b (8 marks) ENG * write a method with the following specification * name * arguments: array of int * returns : nothing 4:44 PM : DisplayIntArray Friday 2021-12-17 Ln 44, Col 26 100% Windows (CRLF) UTF-8 with BOM H Q O i E O O e Q *
Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Methods of StringBuilder class
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,