Write a program that prompts the user to enter an integer

Assignment Help Basic Computer Science
Reference no: EM13307924

1. Write a program that uses a "do while" loop to print a line of 60 asterisks.

2. Write a program that prompts the user to enter an integer, n, and the n floating-point numbers. As the numbers are read, the program will calculate the average of the positivie numbers.

 

Reference no: EM13307924

Questions Cloud

Determine the temperature of the cold reservoir : A Carnot engine has an efficiency of 18.2%. It operates between constant-temperature reservoirs differing in temperature by 138 C °. determine the temperature of the cold reservoir
What is the emf induced in the rectangular loop : A rectangular loop of N turns and of length a and width b is rotated at a frequency f in a uniform magnetic field B. What is the emf induced in the rectangular loop
Sex education to middle age group is not good : Write 1500 to 1800 that giving sex education to middle age group is not good
Apply economic concepts to real world applications : Relates to content and skills covered in Week 7 of the Weekly Study Program, Chapter 32 of Ganset al. (2012). Refer here to the comments given for Week 7 for assistance in answering this question.
Write a program that prompts the user to enter an integer : Write a program that prompts the user to enter an integer, n, and the n floating-point numbers. As the numbers are read, the program will calculate the average of the positivie numbers.
Newly acquired knowledge of energy economics : The integrated project is designed to tie your newly acquired knowledge of energy economics to the analysis of major global issues you will likely face in your career.
Why does the label control that contains your name print : why does the label control that contains your name print above the page number?
Risk identification : You have been assigned as the manager on a project to develop a new application system for your business partner. You were given two weeks to develop a project plan and high level cost estimates.
What has been the change in internal energy of the gas : A cylinder with a moveable piston holds .20 lb of hydrogen initially in a volume of 1 cu ft at a tem-perature of 1300 F. Then the volume is expanded to 2.5 cu ft while the gas pressure remains constant.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Computer the value of the given number

Prompt the user for a number and an exponent. Computer the value of the given number (the base) raised to the power of the exponent.

  Cores on computer systems

Cores on Computer Systems

  Task in artifial intellegince technique

Task in Artifial Intellegince technique - Emplyee Ant colony optimization for classifying KDD99 data set into its classes

  Differences between technical and technology skills

Describe in scholarly detail differences between technical and technology skills as they associate to telecommunications and how they relate to general expectations

  How consultant choose optimal location of main pipeline

Given x & y coordinates of wells, how must professor consultant choose the optimal location of main pipeline (the one which minimizes total length of spurs).

  A web-based registration and cashiering system

You work for a large public university that utilizes a web-based registration and cashiering system that allows students to register for, pay for, and drop classes

  Prediction for open standards that may change world again

In April of 1990, entire concept of domain was born, and email addresses "opened up". What might be the prediction about more open standards which may change our world again?

  How silicon-based semiconductors revolutionized computing

New materials frequently lead to new technologies that change society. Describe how silicon-based semiconductors revolutionized computing.

  Create and validate html documents

Describe the structure of the World Wide Web as interconnected hypertext documents and create and validate HTML documents.

  What is a predefined control event

What is a predefined control event? Discuss its usage in programming.

  Sequence diagram for field officer

Draw a sequence diagram for the following use case. Draw only the first five messages sent. The FieldOfficer activates the "Report Emergency" function of her terminal. The system responds by presenting a form to the officer.

  Describe the main items in a gantt chart

Do you think many organizations use critical path analysis? What about critical chain scheduling? Justify your responses.

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