Compute the sum of the squares of the first 50 counting

Assignment Help Management Information Sys
Reference no: EM132268177

Discussion :

1. Use the variables k and total to write a while loop that computes the sum of the squares of the first 50 counting numbers, and associates that value with total. Thus your code should associate 1*1 + 2*2 + 3*3 +... + 49*49 + 50*50 with total. Use no variables other than k and total.

2. Same as question one, but only total squares that are even in your loop.

3. Same as question one, but only total squares that are odd.

4. Write a program that prompts a user for their age. Once received, check if it is odd or even. If even, output their year of birth. If odd, output the phrase "You are an odd one!"

Reference no: EM132268177

Questions Cloud

How would each chart differ in representing your data : When selecting a chart, it is important to choose the right type of chart to represent your data. If choosing between pie chart and a line chart
Describe the disaster recovery plan : Describe in 500 words the disaster recovery plan and who is responsible at your place of employment.
Describe the concepts of professionalism : Demonstrate effective verbal, written, and technological communication using legal and ethical standards for transferring knowledge using success resources.
What is the purpose of system calls : What is the purpose of system calls, and how do system calls relate to the OS and to the concept of dual-mode (kernel-mode and user-mode) operation?
Compute the sum of the squares of the first 50 counting : Use the variables k and total to write a while loop that computes the sum of the squares of the first 50 counting numbers, and associates that value with total.
Microprocessor can sustain in bytes : Consider a 32-bit microprocessor, with a 16-bit external data bus, driven by an 8-MHz input clock. Assume this microprocessor has a bus cycle whose minimum
Defensive programming using raptor : Use modular programming and defensive programming using Raptor
Discussion on software development management policies : Provide requirements for securing each step of the software development process. Explain & give proper reasoning for each step in securing application software.
Major changes in the last decade : Do you think the internet services in the U.S. has had major changes in the last decade? Why or why not?

Reviews

Write a Review

Management Information Sys Questions & Answers

  Information technology and the changing fabric

Illustrations of concepts from organizational structure, organizational power and politics and organizational culture.

  Case study: software-as-a-service goes mainstream

Explain the questions based on case study. case study - salesforce.com: software-as-a-service goes mainstream

  Research proposal on cloud computing

The usage and influence of outsourcing and cloud computing on Management Information Systems is the proposed topic of the research project.

  Host an e-commerce site for a small start-up company

This paper will help develop internet skills in commercial services for hosting an e-commerce site for a small start-up company.

  How are internet technologies affecting the structure

How are Internet technologies affecting the structure and work roles of modern organizations?

  Segregation of duties in the personal computing environment

Why is inadequate segregation of duties a problem in the personal computing environment?

  Social media strategy implementation and evaluation

Social media strategy implementation and evaluation

  Problems in the personal computing environment

What is the basic purpose behind segregation of duties a problem in the personal computing environment?

  Role of it/is in an organisation

Prepare a presentation on Information Systems and Organizational changes

  Perky pies

Information systems to adequately manage supply both up and down stream.

  Mark the equilibrium price and quantity

The demand schedule for computer chips.

  Visit and analyze the company-specific web-site

Visit and analyze the Company-specific web-site with respect to E-Commerce issues

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