Prompt the user to input two integers

Assignment Help Basic Computer Science
Reference no: EM13864350

Write a program that uses for loops to perform the following steps:

Prompt the user to input two integers: firstNum and secondNum (firstNum must be less than secondNum)

Output all odd numbers between firstNum and secondNum

Output the sum of all even numbers between firstNum and secondNum

Output the numbers and their squares between 1 and 10

Output the sum of the square of the odd numbers between firstNum and secondNum.

Output all uppercase letters

 

 

Reference no: EM13864350

Questions Cloud

What is an alternative process strategy to the assembly line : Why do you think major auto manufacturers do not build ambulances? What is an alternative process strategy to the assembly line that Wheeled Coach currently uses
The ldap authentication types : If you look at the LDAP Authentication Types, you will find that LDAP specifies three authentication types: (1) No Authentication (2) Basic Authentication (3) Simple Authentication and Security Layer (SASL) When/why would anyone use a "No Authenticat..
Strongest reasons to accept cultural ethical relativism? : What do you think are the strongest reasons to accept Cultural Ethical Relativism?
Develop a series of business process models : Develop a series of Business Process Models, which capture the existing and proposed business processes. The models should follow the BPMN notation shown in the lecture slides.
Prompt the user to input two integers : Write a program that uses for loops to perform the following steps: Prompt the user to input two integers: firstNum and secondNum (firstNum must be less than secondNum) Output all odd numbers between firstNum and secondNum
Write a control file to enter 2 rows of data into customers : Write a Control file to enter 2 rows of data into customers table using SQL*Loader. Use separate control file (customers.ctl) and data file (customers.dat).
What is the economic value of the everbright : What is the economic value of the EverBright to an average consumer over the course of one year and how large of an increase in dollar sales will be necessary to recoup the incremental increase in advertising expenditures for VitAwake? For WideAwak..
Need to provide a descriptive profile : Need to provide a descriptive profile of what an individual in this user  group would need when interacting with the district's networking infrastructure. Components could include:
Principles of dimensional metrology : Balls of diameters 25 mm and 20 mm were used to measure a taper ring gage.  The large ball protruded mm above the end face of ring gear while the distance of the end face from the top of the 20 mm diameter ball was 40 mm.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Predict the microsoft office component

Submit all files and written responses at the same time as one (1) complete submission. Screenshot File Submission: You must submit the screenshot file(s) using the provided Assignment Submission Attach File function located in the Blackboard online ..

  Write a script to help users calculate compressed file size

Write a script to help users calculate compressed file size. Prompt the user to enter the original size of a file (inbytes) from the keyboard.

  Display an appropriate error message

User Radio Buttons with a shared event procedure and a Select Case to determine which text box (State name or abbreviation) should have the focus and which should be set to Readonly.

  Give time line which identify specific steps of installation

Give a time line, which identifies specific steps (including training) and related resources required to implement the recommended system.

  Compare how the gestures data is generated and represented

Analyze the accuracy of the input generated by each of the following input devices compared to electrical signals based methods of processing

  Create a class named vehicle that acts as a super class for

Create a class named Vehicle that acts as a super class for vehicle types

  While budget and schedule are critical components of project

While budget and schedule are critical components of projects

  Linear programming problem using branch and bound

Solve this linear programming problem using Branch and Bound

  Determining the speed of a computer

Explain the role of each of the following in determining the speed of a computer: RAM, Clock speed and Data on hard disk

  Create an entity-relationship diagram with the database

Consider a problem (document) that can be solved creating a database. Identify all elements related to it, and separate the entities with their attributes, making sure that you have functional dependencies.

  Write quickest and easiest way to recover data

What is the quickest and easiest way to solve most urgent problem, recovering data? Write the major steps in that process.

  Advancements in technology have certainly made

Advancements in technology have certainly made our lives easier over the last twenty years. They've also changed the nature of how many of us do our jobs. A great example is right here in this course...professors can teach from home!

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd