Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CS basic JAVA HW, please use student ID: 12345678 and example name the given Assignment 2 - Arithmetic Some Easy Arithmetic Every programming assignment is

CS basic JAVA HW, please use student ID: 12345678 and example name the givenimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Assignment 2 - Arithmetic Some Easy Arithmetic Every programming assignment is as much a test of English language comprehension as it is a test of programming or mathematical skills. This week, the explanations of the formulae below are given clearly in plain English if you read carefully. However, if there is any question about what is being asked, you are urged to ask for clarification in the public forums. Understand the Application You will create two int variables into which you will store Your student ID. (This is normally an 8-digit number, don't confuse it with your social security # or a password, which it is not.) he number of letters in your first name. (Example: My name is Michael Loceff, so my first name is Michael which has 7 letters.) In order to receive any credit for this assignment, these two values must match what I have for you on my class roster. Your program will compute some values based on these two numbers, so each student will have a unique output. The Program Spec The following five expressions assume that you have stored your student ID into the variable myld and the number of letters in your first (not your family) name into the variable numLet. You can manually enter both of these using assignment statements in your program source. No user input allowed. Compute the following five values: #1: myld % 17 #2: (numLet + 17) % 11 myld numLet 800. #3

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_step_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 11 The Ultimate Database For Cloud Analytics And Mobile

Authors: John Campbell, Chris Crone, Gareth Jones, Surekha Parekh, Jay Yothers

1st Edition

ISBN: 1583474013, 978-1583474013

More Books

Students also viewed these Databases questions

Question

Develop a career plan for the future. AppendixLO1

Answered: 1 week ago

Question

Define procedural justice. How does that relate to unions?

Answered: 1 week ago