Saad_Devin_addmultiplyfourints
.docx
keyboard_arrow_up
School
Southern New Hampshire University *
*We aren’t endorsed by this school
Course
-230
Subject
Computer Science
Date
Dec 6, 2023
Type
docx
Pages
3
Uploaded by BaronMoon7849
IT 230 Coding Activity Submission Template
Name: Devin Saad
Date: 11/3/2023
Class:
IT 230
Module: Two 2-2
1
.
Insert a copy of your of the ZIP file of all of your Visual Studio project files here so that it can be loaded and run in another Visual Studio:
Insert here a copy of your *.cs source code text you used here (copy and paste source code here, do not
simply insert
*.cs files):
// See https://aka.ms/new-console-template for more information
// 2-2 Coding Activity using System;
class addMultiplyFourInts
{
static void Main(
string
[] args)
{
// Declare Variable names with int Data Type
int num1;
int num2; int num3;
int num4;
int sum;
int product;
// Asign num1-4 variables with values
num1 = 13;
num2 = 55;
num3 = 123;
num4 = 325;
// Useing Math operators to add and multiply sum = num1 + num2 + num3 + num4;
product = num1 * num2 * num3 * num4;
// Outputs the Sum & Product of the values Console.WriteLine(
$"The sum of {num1}
, {num2}
, {num3}
, and {num4} = {sum}
"
);
Console.WriteLine(
$"The product of {num1}
, {num2}
, {num3}
, and {num4} = {product}
"
);
}
}
2
.
Insert a screenshot here of the output that resulted from running your program, showing your last name as the first printed text to the screen:
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
Using React create a header component that displays a logo and company name. It should be able to welcome a user to the site or ask them to sign in, depending on boolean input. Create a landing page component that tells the user about the company. Create a product component that displays information about the products that the company sells. Edit your existing App.js file so that it displays the header component, the landing page component and at least three product components. Use an array of values and props to do this. Pass props to the header component to specify whether the user is logged in or not.
arrow_forward
Getting Bigger.pdf
PDF
O File | C:/Users/19377/Downloads/Getting%20Bigger.pdf
+
Purpose
To review more advanced aspects of user interfaces and event handlers
Directions
Create an interface for a program that looks like the one in the first image below.
Then add an event handler to the JSlider that changes the font size of the text in the
JTextArea according to the value on the slider, as illustrated in the second image.
Note: These directions are intentionally vague. Use the internet and whatever other
resources you have available to try to piece together how to do this. Be sure to cite
any sources you use as comments in your code.
Text Decorator
Type here..
Font Size:
25
50
75
100
Text Decorator
Type here...
Туре
Font Size:
25
50
75
100
11:35 AM
e Type here to search
28°F Cloudy
2/23/2022
(8)
arrow_forward
Android Studio Java
Create a detailed plan to implement the app and submit this file
The plan should include at least
App Feature Description (graph if needed)
Tech Difficulty
Solution to Each Difficulty in Detail (tutorial/image if needed)
Version of Approach
2. Layout of a simplified version
Create an android app and do layout only
Climacons.ttf for weather condition icons
Fixed weather values, no function
As close as possible
Ignore the page indicators (4 dots) at the bottom
Layout should look properly on different screens
Submit .xml file and screenshot
arrow_forward
Create animation in Figure tomeet the following requirements:■■ Allow the user to specify the animation speed in a text field.■■ Get the number of images and image’s file-name prefix from the user. Forexample, if the user enters n for the number of images and L for the imageprefix, then the files are L1.gif, L2.gif, and so on, to Ln.gif. Assume theimages are stored in the image directory, a subdirectory of the program’s classdirectory. The animation displays the images one after the other.■■ Allow the user to specify an audio file URL. The audio is played while theanimation runs.
arrow_forward
There are times as a web developer when you need to interact with different data types and file
types. The textbox below represents a Comma-separated values file, which is typically referred
to as a CSV file.
Username, Identifier, First name, Last name
booker12,9012, Rachel,Booker
grey07, 2070, Laura, Grey
johnson81, 4081, Craig, Johnson
jenkins46,9346, Mary, Jenkins
smith79,5079, Jamie, Smith
Your job is to represent the CSV data using a tabular format in csv_to_table.html. You
need to use following HTML elements:
1 x Table element
1 x Caption element
1 x Table Head element ()
1 x Table Body element ()
4 x Table Header elements
6 x Table Row elements
? x Table Data elements (the number of Table Data elements is up to you to work out!)
arrow_forward
Skybox class (M Visual Studios): Modify the skybox class appropriately to handle cube mapping. This involves loading six images for the cube map, setting appropriate texture parameters, and ensuring the normals of the cube model that encoded and runs sucessfully
Task: The upload_CubeMap_images() function in the Skybox.cpp file needs to be implemented sucessfully according to the instructions.Instructions:
Enable cube mapping: Use glEnable(GL_TEXTURE_CUBE_MAP) to enable cube mapping.
Generate a texture ID: Use glGenTextures() to generate a texture ID to hold the cube map. This ID is stored in the tex_buffer_ID member variable of the Skybox class.
Bind the texture ID: Use glBindTexture() to bind the texture ID as the current buffer. Make sure to bind it as a cube map using GL_TEXTURE_CUBE_MAP.
Load six images: Load all six images into the correct "place" in the cube map. You can use the provided file paths (BMP_NEG_X_FILE_PATH, BMP_NEG_Y_FILE_PATH, etc.) to load the images. (Make sure to…
arrow_forward
True or False You add your own code to the Progam.cs file as you develop an application.
arrow_forward
Create Windows Form Application.
Instructions are below in Image
arrow_forward
HTML PROJECT
arrow_forward
Murach's javascript and Jquery 4th edition (ch9 animation)
I need help with this assignment, please. thanks
Modify a carousel to use animationIn this exercise, you’ll modify a carousel application so that when an image in the carousel is clicked, an enlarged image is displayed using animation.1. Open the application in this folder:carouselThen, run the application and notice that an enlarged image of the first book in the carousel is displayed.2. Review the HTML for the application, and notice that it contains an img element with an id of “image” following the heading. Also notice that the href attributes of the <a>elements in the carousel are set to the URL of the enlarged image to be displayed when the associated carousel image is clicked.3. Code an event handler for the click event of the <a> elements in the list. This event handler should start by getting the URL for the image to be displayed. Then, it should assign this URL to the enlarged image.4. Add animation to…
arrow_forward
* IN VISUAL BASICS
arrow_forward
The Image List controls are intended to be used to hold small pictures such as icons or thumbnails.True or False
arrow_forward
Write this in java script
arrow_forward
Using visual studio code:
Your application will demonstrate the use of Input, Output, and Operators. Incorporate the following requirements into your application:
The program will consist of one file - the main application class
Name the class appropriately and name the file Program.cs (the default when you create the application)
Include documentation at the top of the file that includes
Your name
Date of development
Assignment (e.g., CIS214 Performance Assessment - IO & Operators)
Description of the class
The main application class must meet the following requirements
Print a line that states "Your Name - Week 1 PA IO & Operators"
Demonstrate integer-based operations
Retrieve 2 integer values from the user
Display the sum of those two values
Display the comparison results of value 1 to value 2, including:
Equality - whether the values are equal or not equal
Size - whether value 1 is greater than or less than value 2
Size with equality - whether value 1 is greater…
arrow_forward
Html code . Put up code with screenshot
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Related Questions
- Using React create a header component that displays a logo and company name. It should be able to welcome a user to the site or ask them to sign in, depending on boolean input. Create a landing page component that tells the user about the company. Create a product component that displays information about the products that the company sells. Edit your existing App.js file so that it displays the header component, the landing page component and at least three product components. Use an array of values and props to do this. Pass props to the header component to specify whether the user is logged in or not.arrow_forwardGetting Bigger.pdf PDF O File | C:/Users/19377/Downloads/Getting%20Bigger.pdf + Purpose To review more advanced aspects of user interfaces and event handlers Directions Create an interface for a program that looks like the one in the first image below. Then add an event handler to the JSlider that changes the font size of the text in the JTextArea according to the value on the slider, as illustrated in the second image. Note: These directions are intentionally vague. Use the internet and whatever other resources you have available to try to piece together how to do this. Be sure to cite any sources you use as comments in your code. Text Decorator Type here.. Font Size: 25 50 75 100 Text Decorator Type here... Туре Font Size: 25 50 75 100 11:35 AM e Type here to search 28°F Cloudy 2/23/2022 (8)arrow_forwardAndroid Studio Java Create a detailed plan to implement the app and submit this file The plan should include at least App Feature Description (graph if needed) Tech Difficulty Solution to Each Difficulty in Detail (tutorial/image if needed) Version of Approach 2. Layout of a simplified version Create an android app and do layout only Climacons.ttf for weather condition icons Fixed weather values, no function As close as possible Ignore the page indicators (4 dots) at the bottom Layout should look properly on different screens Submit .xml file and screenshotarrow_forward
- Create animation in Figure tomeet the following requirements:■■ Allow the user to specify the animation speed in a text field.■■ Get the number of images and image’s file-name prefix from the user. Forexample, if the user enters n for the number of images and L for the imageprefix, then the files are L1.gif, L2.gif, and so on, to Ln.gif. Assume theimages are stored in the image directory, a subdirectory of the program’s classdirectory. The animation displays the images one after the other.■■ Allow the user to specify an audio file URL. The audio is played while theanimation runs.arrow_forwardThere are times as a web developer when you need to interact with different data types and file types. The textbox below represents a Comma-separated values file, which is typically referred to as a CSV file. Username, Identifier, First name, Last name booker12,9012, Rachel,Booker grey07, 2070, Laura, Grey johnson81, 4081, Craig, Johnson jenkins46,9346, Mary, Jenkins smith79,5079, Jamie, Smith Your job is to represent the CSV data using a tabular format in csv_to_table.html. You need to use following HTML elements: 1 x Table element 1 x Caption element 1 x Table Head element () 1 x Table Body element () 4 x Table Header elements 6 x Table Row elements ? x Table Data elements (the number of Table Data elements is up to you to work out!)arrow_forwardSkybox class (M Visual Studios): Modify the skybox class appropriately to handle cube mapping. This involves loading six images for the cube map, setting appropriate texture parameters, and ensuring the normals of the cube model that encoded and runs sucessfully Task: The upload_CubeMap_images() function in the Skybox.cpp file needs to be implemented sucessfully according to the instructions.Instructions: Enable cube mapping: Use glEnable(GL_TEXTURE_CUBE_MAP) to enable cube mapping. Generate a texture ID: Use glGenTextures() to generate a texture ID to hold the cube map. This ID is stored in the tex_buffer_ID member variable of the Skybox class. Bind the texture ID: Use glBindTexture() to bind the texture ID as the current buffer. Make sure to bind it as a cube map using GL_TEXTURE_CUBE_MAP. Load six images: Load all six images into the correct "place" in the cube map. You can use the provided file paths (BMP_NEG_X_FILE_PATH, BMP_NEG_Y_FILE_PATH, etc.) to load the images. (Make sure to…arrow_forward
- Murach's javascript and Jquery 4th edition (ch9 animation) I need help with this assignment, please. thanks Modify a carousel to use animationIn this exercise, you’ll modify a carousel application so that when an image in the carousel is clicked, an enlarged image is displayed using animation.1. Open the application in this folder:carouselThen, run the application and notice that an enlarged image of the first book in the carousel is displayed.2. Review the HTML for the application, and notice that it contains an img element with an id of “image” following the heading. Also notice that the href attributes of the <a>elements in the carousel are set to the URL of the enlarged image to be displayed when the associated carousel image is clicked.3. Code an event handler for the click event of the <a> elements in the list. This event handler should start by getting the URL for the image to be displayed. Then, it should assign this URL to the enlarged image.4. Add animation to…arrow_forward* IN VISUAL BASICSarrow_forwardThe Image List controls are intended to be used to hold small pictures such as icons or thumbnails.True or Falsearrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Microsoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,